We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36f04a1 commit 56eb162Copy full SHA for 56eb162
cmd/runtimetest/main.go
@@ -309,13 +309,10 @@ func validateLinuxDevices(spec *rspec.Spec) error {
309
switch fStat.Mode & syscall.S_IFMT {
310
case syscall.S_IFCHR:
311
devType = "c"
312
- break
313
case syscall.S_IFBLK:
314
devType = "b"
315
316
case syscall.S_IFIFO:
317
devType = "p"
318
319
default:
320
devType = "unmatched"
321
}
generate/generate.go
@@ -705,7 +705,6 @@ func (g *Generator) AddCgroupsMount(mountCgroupOption string) error {
705
switch mountCgroupOption {
706
case "ro":
707
case "rw":
708
709
case "no":
710
return nil
711
0 commit comments