Skip to content

Commit c4fb2c0

Browse files
author
Ma Shimiao
committed
generate: fix mount-cgroups bug
Signed-off-by: Ma Shimiao <[email protected]>
1 parent 3334d03 commit c4fb2c0

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
@@ -903,6 +903,7 @@ func (g *Generator) AddCgroupsMount(mountCgroupOption string) error {
903903
switch mountCgroupOption {
904904
case "ro":
905905
case "rw":
906+
break
906907
case "no":
907908
return nil
908909
default:

0 commit comments

Comments
 (0)