From c4fb2c048d2c5ba70d512537d6267c3f108cb03a Mon Sep 17 00:00:00 2001 From: Ma Shimiao Date: Wed, 27 Jul 2016 18:34:47 +0800 Subject: [PATCH] generate: fix mount-cgroups bug Signed-off-by: Ma Shimiao --- generate/generate.go | 1 + 1 file changed, 1 insertion(+) diff --git a/generate/generate.go b/generate/generate.go index fd5d9c6f9..a3f2973f3 100644 --- a/generate/generate.go +++ b/generate/generate.go @@ -903,6 +903,7 @@ func (g *Generator) AddCgroupsMount(mountCgroupOption string) error { switch mountCgroupOption { case "ro": case "rw": + break case "no": return nil default: