fix golint issues in core/stores (#527)
This commit is contained in:
@@ -4,6 +4,7 @@ import "strings"
|
||||
|
||||
const mongoAddrSep = ","
|
||||
|
||||
// FormatAddr formats mongo hosts to a string.
|
||||
func FormatAddr(hosts []string) string {
|
||||
return strings.Join(hosts, mongoAddrSep)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user