lint: convert string to string

This commit is contained in:
Umputun
2019-04-05 16:49:42 -05:00
parent 47414a252f
commit 3662cd0ab5
+1 -2
View File
@@ -65,7 +65,6 @@ func NewBoltDB(options bolt.Options, sites ...BoltSite) (*BoltDB, error) {
if _, e := tx.CreateBucketIfNotExists([]byte(bktName)); e != nil {
return errors.Wrapf(e, "failed to create top level bucket %s", bktName)
}
log.Printf("[DEBUG] created bucket %s", string(bktName))
}
return nil
})
@@ -75,7 +74,7 @@ func NewBoltDB(options bolt.Options, sites ...BoltSite) (*BoltDB, error) {
}
result.dbs[site.SiteID] = db
log.Printf("[DEBUG] bolt store created for %+v", site.SiteID)
log.Printf("[DEBUG] bolt store created for %s", site.SiteID)
}
return &result, nil
}