You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Forcebool`short:"f" description:"Force rollback without confirmation"`
19
21
RequiredArgs flag.AppName`positional-args:"yes"`
22
+
Forcebool`short:"f" description:"Force rollback without confirmation"`
23
+
InstanceStepsstring`long:"instance-steps" description:"An array of percentage steps to deploy when using deployment strategy canary. (e.g. 20,40,60)"`
20
24
MaxInFlight*int`long:"max-in-flight" description:"Defines the maximum number of instances that will be actively being rolled back."`
21
25
Strategy flag.DeploymentStrategy`long:"strategy" description:"Deployment strategy can be canary or rolling. When not specified, it defaults to rolling."`
22
26
Version flag.Revision`long:"version" required:"true" description:"Roll back to the specified revision"`
Expect(testUI.Out).ToNot(Say("Rolling '%s' back to revision '1' will create a new revision. The new revision '3' will use the settings from revision '1'.", app))
200
+
Expect(testUI.Out).ToNot(Say("Rolling '%s' back to revision '1' will create a new revision. The new revision '3' will use the settings from revision '1'.", appName))
196
201
Expect(testUI.Out).ToNot(Say("Are you sure you want to continue?"))
197
202
198
203
Expect(testUI.Out).To(Say("Rolling back to revision 1 for app some-app in org some-org / space some-space as steve..."))
Expect(testUI.Out).To(Say("Rolling '%s' back to revision '1' will create a new revision. The new revision will use the settings from revision '1'.", app))
229
+
Expect(testUI.Out).To(Say("Rolling '%s' back to revision '1' will create a new revision. The new revision will use the settings from revision '1'.", appName))
225
230
Expect(testUI.Out).To(Say("Are you sure you want to continue?"))
226
231
Expect(testUI.Out).To(Say("Rolling back to revision 1 for app some-app in org some-org / space some-space as steve..."))
Expect(testUI.Out).To(Say("Rolling '%s' back to revision '1' will create a new revision. The new revision will use the settings from revision '1'.", app))
265
-
Expect(testUI.Out).To(Say("App '%s' has not been rolled back to revision '1'.", app))
294
+
Expect(testUI.Out).To(Say("Rolling '%s' back to revision '1' will create a new revision. The new revision will use the settings from revision '1'.", appName))
295
+
Expect(testUI.Out).To(Say("App '%s' has not been rolled back to revision '1'.", appName))
0 commit comments