Skip to content

Commit

Permalink
fix(titus): Update props in StepPolicyAction (#9605)
Browse files Browse the repository at this point in the history
* fix(titus): Update props in StepPolicyAction

* chore(amazon): Remove stepAdjustments prop from amazon
  • Loading branch information
caseyhebebrand committed Aug 20, 2021
1 parent 1bf4a0f commit f1b039c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Expand Up @@ -15,8 +15,8 @@ export interface IStepPolicyActionProps {
alarm: IScalingPolicyAlarm;
isMin: boolean;
operator: Operator;
step?: { stepAdjustments: IStepAdjustment[] };
stepAdjustments: IStepAdjustment[];
step: { stepAdjustments: IStepAdjustment[] };
stepAdjustments?: IStepAdjustment[];
stepsChanged: (steps: IStepAdjustment[]) => void;
}

Expand Down
Expand Up @@ -45,7 +45,6 @@ <h4 class="text-center">Select a metric</h4>
is-min="ctrl.viewState.comparatorBound === 'min'"
operator="ctrl.viewState.operator"
step="ctrl.command.step"
step-adjustments="ctrl.command.step.stepAdjustments"
steps-changed="ctrl.stepsChanged"
>
</step-policy-action>
Expand Down
Expand Up @@ -32,6 +32,7 @@ <h4 class="text-center">Select a metric</h4>
alarm="ctrl.command.alarm"
is-min="ctrl.viewState.comparatorBound === 'min'"
operator="ctrl.viewState.operator"
step="ctrl.command.step"
step-adjustments="ctrl.command.step.stepAdjustments"
steps-changed="ctrl.stepsChanged"
></step-policy-action>
Expand Down

0 comments on commit f1b039c

Please sign in to comment.