mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
aufs: SA4011: did you mean to break out of the outer loop? (staticcheck)
As caught by staticcheck (after disabling the default exclusion rules); Based on the comment, this break was indeed meant to break the loop and return the error. ``` daemon/graphdriver/aufs/mount.go:54:4: SA4011: ineffective break statement. Did you mean to break out of the outer loop? (staticcheck) break ^ ``` Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
6d9c219c54
commit
af3bbcc00c
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ func Unmount(target string) error {
|
||||||
continue // try again
|
continue // try again
|
||||||
default:
|
default:
|
||||||
// any other error is fatal
|
// any other error is fatal
|
||||||
break
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue