lint: convdersion not needed

This commit is contained in:
Umputun
2018-01-08 20:07:36 -06:00
parent ff629afa7d
commit f0380a3c4d
+1 -1
View File
@@ -361,7 +361,7 @@ func (b BoltDB) List(siteID string) (list []PostInfo, err error) {
return tx.ForEach(func(name []byte, bkt *bolt.Bucket) error {
postURL := string(name)
if postURL != lastBucketName && postURL != userBucketName {
list = append(list, PostInfo{URL: string(postURL), Count: bkt.Stats().KeyN})
list = append(list, PostInfo{URL: postURL, Count: bkt.Stats().KeyN})
}
return nil
})