Skip to content

Commit 6dabb9b

Browse files
author
zhouhao
committed
generate: fix rootfs-propagation
Signed-off-by: zhouhao <[email protected]>
1 parent 93ba5a2 commit 6dabb9b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

generate/generate.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -722,13 +722,11 @@ func (g *Generator) SetLinuxRootPropagation(rp string) error {
722722
switch rp {
723723
case "":
724724
case "private":
725-
case "rprivate":
726725
case "slave":
727-
case "rslave":
728726
case "shared":
729-
case "rshared":
727+
case "unbindable":
730728
default:
731-
return fmt.Errorf("rootfs-propagation must be empty or one of private|rprivate|slave|rslave|shared|rshared")
729+
return fmt.Errorf("rootfs-propagation must be empty or one of private|slave|shared|unbindable")
732730
}
733731
g.initSpecLinux()
734732
g.spec.Linux.RootfsPropagation = rp

0 commit comments

Comments
 (0)