node: fix linter warning
Thanks linter, I did *not* know about this one :-) commit-id:222b476a
This commit is contained in:
parent
1e4ecef4ce
commit
e571e96bbd
|
@ -111,7 +111,7 @@ func runListNodes(cmd *cobra.Command, args []string) {
|
|||
var filtered []network
|
||||
for _, network := range networks {
|
||||
for _, name := range only {
|
||||
if strings.ToLower(name) == strings.ToLower(network.string) {
|
||||
if strings.EqualFold(network.string, name) {
|
||||
filtered = append(filtered, network)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue