Skip to content

Commit 52c9e15

Browse files
author
Mrunal Patel
authored
Merge pull request opencontainers#183 from wking/generate-fix-mount-cgroup-bug
[1.0.0.rc1] generate: fix mount-cgroups bug
2 parents 2a8f316 + 56a65bd commit 52c9e15

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

generate/generate.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -851,6 +851,7 @@ func (g *Generator) AddCgroupsMount(mountCgroupOption string) error {
851851
switch mountCgroupOption {
852852
case "ro":
853853
case "rw":
854+
break
854855
case "no":
855856
return nil
856857
default:

0 commit comments

Comments
 (0)