From f744934122cab0813f19ba1a0ade0d8bd6772e56 Mon Sep 17 00:00:00 2001 From: Christian Goll Date: Fri, 12 Aug 2022 15:52:38 +0200 Subject: [PATCH] fixed linting --- internal/pkg/node/constructors.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/pkg/node/constructors.go b/internal/pkg/node/constructors.go index 3e8205e7..9189168d 100644 --- a/internal/pkg/node/constructors.go +++ b/internal/pkg/node/constructors.go @@ -91,7 +91,7 @@ func (config *NodeYaml) FindAllNodes() ([]NodeInfo, error) { // set default/primary network is just one network exist if len(n.NetDevs) == 1 { // only way to get the key - for key, _ := range node.NetDevs { + for key := range node.NetDevs { n.NetDevs[key].Primary.SetB(true) } }