fix golint issues in core/stores (#527)
This commit is contained in:
1
core/stores/cache/util.go
vendored
1
core/stores/cache/util.go
vendored
@@ -4,6 +4,7 @@ import "strings"
|
||||
|
||||
const keySeparator = ","
|
||||
|
||||
// TotalWeights returns the total weights of given nodes.
|
||||
func TotalWeights(c []NodeConf) int {
|
||||
var weights int
|
||||
|
||||
|
||||
Reference in New Issue
Block a user