Skip to content

Commit 56a65bd

Browse files
Ma Shimiaowking
authored andcommitted
generate: fix mount-cgroups bug
Signed-off-by: Ma Shimiao <[email protected]> Backported to v1.0.0.rc1 from c4fb2c0 opencontainers#156 (cherry-pick applied cleanly). Signed-off-by: W. Trevor King <[email protected]>
1 parent 2a8f316 commit 56a65bd

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)