We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5a1d35 commit 8f5c42fCopy full SHA for 8f5c42f
apptrust/commands/version/rollback_app_version_cmd.go
@@ -47,11 +47,9 @@ func (rv *rollbackAppVersionCommand) prepareAndRunCommand(ctx *components.Contex
47
return pluginsCommon.WrongNumberOfArgumentsHandler(ctx)
48
}
49
50
- // Extract from arguments
51
rv.applicationKey = ctx.Arguments[0]
52
rv.version = ctx.Arguments[1]
53
54
- // Extract from-stage flag value
55
fromStage := ctx.GetStringFlagValue(commands.FromStageFlag)
56
if fromStage == "" {
57
return errorutils.CheckErrorf("the --%s flag is required", commands.FromStageFlag)
0 commit comments