Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: zhangzujian <[email protected]>
  • Loading branch information
zhangzujian committed Jul 24, 2024
1 parent f8e131a commit 72b30e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/daemon/netns_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func newNetNS(path string) error {
defer func() {
// Ensure the mount point is cleaned up on errors
if err != nil {
os.RemoveAll(path)
_ = os.RemoveAll(path)
}
}()

Expand Down

0 comments on commit 72b30e1

Please sign in to comment.