linter fixes
This commit is contained in:
parent
4bf887e75f
commit
df5babf6c8
15 changed files with 49 additions and 55 deletions
|
|
@ -83,7 +83,7 @@ func (db *DB) GetCIDR(name string) (cidr string, err error) {
|
|||
func (db *DB) GetLBs(cl string) (lbs map[string][]byte, err error) {
|
||||
lbs = make(map[string][]byte)
|
||||
if cl != "" {
|
||||
cl = cl + "/"
|
||||
cl += "/"
|
||||
}
|
||||
m, err := db.kv.GetPrefix(lbPrefix + cl)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue