Skip to content

Commit

Permalink
generate: fix mount-cgroups bug
Browse files Browse the repository at this point in the history
Signed-off-by: Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
  • Loading branch information
Ma Shimiao committed Jul 27, 2016
1 parent 3334d03 commit c4fb2c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions generate/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -903,6 +903,7 @@ func (g *Generator) AddCgroupsMount(mountCgroupOption string) error {
switch mountCgroupOption {
case "ro":
case "rw":
break
case "no":
return nil
default:
Expand Down

0 comments on commit c4fb2c0

Please sign in to comment.