Merge pull request #1364 from AkihiroSuda/fix-ctr-snapshot-commit

ctr: fix `ctr snapshot commit`
This commit is contained in:
Derek McGowan
2017-08-15 14:44:23 -07:00
committed by GitHub

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 {