Fix golangci-lint findings

Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
This commit is contained in:
Phil Estes
2019-09-19 09:31:36 -04:00
parent 1e3cd5b052
commit 161abf8f5b
3 changed files with 6 additions and 6 deletions

View File

@@ -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.