ctr: fix ctr snapshot commit
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
This commit is contained in:
parent
a64399acc2
commit
ca352220b5
@ -228,8 +228,8 @@ var commitSnapshotCommand = cli.Command{
|
|||||||
return cli.ShowSubcommandHelp(clicontext)
|
return cli.ShowSubcommandHelp(clicontext)
|
||||||
}
|
}
|
||||||
|
|
||||||
key := clicontext.Args().Get(1)
|
key := clicontext.Args().Get(0)
|
||||||
active := clicontext.Args().Get(0)
|
active := clicontext.Args().Get(1)
|
||||||
|
|
||||||
snapshotter, err := getSnapshotter(clicontext)
|
snapshotter, err := getSnapshotter(clicontext)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user