mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2025-07-31 08:56:06 +02:00
Fix staticcheck warnings (#66)
This commit is contained in:
@@ -125,5 +125,5 @@ func RemoveFromStringList(s []string, r string) ([]string, error) {
|
||||
return append(s[:i], s[i+1:]...), nil
|
||||
}
|
||||
}
|
||||
return s, fmt.Errorf("No such string in list")
|
||||
return s, fmt.Errorf("no such string in list")
|
||||
}
|
||||
|
Reference in New Issue
Block a user