mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
pkg/mount: SA4011: ineffective break statement (staticcheck)
``` pkg/mount/mountinfo_linux.go:93:5: 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
af3bbcc00c
commit
4840fd8953
1 changed files with 0 additions and 1 deletions
|
@ -90,7 +90,6 @@ func parseInfoFile(r io.Reader, filter FilterFunc) ([]*Info, error) {
|
||||||
mount propagation flags in fields[6]. The correct
|
mount propagation flags in fields[6]. The correct
|
||||||
behavior is to ignore any unknown optional fields.
|
behavior is to ignore any unknown optional fields.
|
||||||
*/
|
*/
|
||||||
break
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if i == numFields {
|
if i == numFields {
|
||||||
|
|
Loading…
Add table
Reference in a new issue