Fix golangci-lint findings
Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
This commit is contained in:
@@ -33,7 +33,7 @@ func NewNetNS() (*NetNS, error) {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
return &NetNS{path: string(hcnNamespace.Id)}, nil
|
||||
return &NetNS{path: hcnNamespace.Id}, nil
|
||||
}
|
||||
|
||||
// LoadNetNS loads existing network namespace.
|
||||
|
||||
Reference in New Issue
Block a user