Skip to content

Commit 839cb58

Browse files
committed
Update
1 parent 0cbd3de commit 839cb58

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/commands/scaling/scaleRange/ScaleRangeUpdateStep.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* Licensed under the MIT License. See License.txt in the project root for license information.
44
*--------------------------------------------------------------------------------------------*/
55

6+
import { nonNullProp } from "@microsoft/vscode-azext-utils";
67
import { ext } from "../../../extensionVariables";
78
import type { RevisionsItemModel } from "../../../tree/revisionManagement/RevisionItem";
89
import { localize } from "../../../utils/localize";
@@ -24,6 +25,9 @@ export class ScaleRangeUpdateStep<T extends ScaleRangeContext> extends RevisionD
2425

2526
this.updateRevisionDraftWithTemplate();
2627

28+
context.scaleMinRange = nonNullProp(context, 'newMinRange');
29+
context.scaleMaxRange = nonNullProp(context, 'newMaxRange');
30+
2731
const parentResourceName = getParentResourceFromItem(this.baseItem).name;
2832
ext.outputChannel.appendLog(localize('updatedScaleRange', 'Updated replica scaling range to {0}-{1} for "{2}".', context.newMinRange, context.newMaxRange, parentResourceName));
2933
}

0 commit comments

Comments
 (0)