This commit is contained in:
Calle Pettersson
2018-04-05 07:11:36 +02:00
parent cf792394f3
commit 63e51a554b
4 changed files with 19 additions and 21 deletions

View File

@@ -116,7 +116,7 @@ func expandEnabledCollectors(enabled string) []string {
}
}
result := make([]string, 0, len(unique))
for s, _ := range unique {
for s := range unique {
result = append(result, s)
}
return result