Skip to content

Commit 0551328

Browse files
committed
ctr: add UNIX-specific flags to ctr c create
Signed-off-by: Akihiro Suda <[email protected]>
1 parent e6a3dd3 commit 0551328

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/ctr/commands/run/run_unix.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import (
3131
)
3232

3333
func init() {
34-
Command.Flags = append(Command.Flags, cli.BoolFlag{
34+
ContainerFlags = append(ContainerFlags, cli.BoolFlag{
3535
Name: "rootfs",
3636
Usage: "use custom rootfs that is not managed by containerd snapshotter",
3737
}, cli.BoolFlag{

0 commit comments

Comments
 (0)