Skip to content

Commit

Permalink
Ignore errcheck: error return value of aufs.Unmount is not checked
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Rodák <[email protected]>
  • Loading branch information
Honny1 committed Jul 3, 2024
1 parent 99cd54a commit b0560d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/aufs/aufs.go
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,7 @@ func (a *Driver) Cleanup() error {
func (a *Driver) aufsMount(ro []string, rw, target string, options graphdriver.MountOpts) (err error) {
defer func() {
if err != nil {
Unmount(target)
_ = Unmount(target)
}
}()

Expand Down

0 comments on commit b0560d0

Please sign in to comment.