ctr: fix ctr snapshot commit

Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
This commit is contained in:
Akihiro Suda 2017-08-15 08:14:54 +00:00
parent a64399acc2
commit ca352220b5

View File

@ -228,8 +228,8 @@ var commitSnapshotCommand = cli.Command{
return cli.ShowSubcommandHelp(clicontext)
}
key := clicontext.Args().Get(1)
active := clicontext.Args().Get(0)
key := clicontext.Args().Get(0)
active := clicontext.Args().Get(1)
snapshotter, err := getSnapshotter(clicontext)
if err != nil {