Skip to content

Commit 260df64

Browse files
committed
Modified New/Set cmdlet confirmation messages to use DeploymentStack instead of Stack
1 parent 83e5ec7 commit 260df64

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/Resources/ResourceManager/Implementation/DeploymentStacks/NewAzResourceGroupDeploymentStack.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ public override void ExecuteCmdlet()
174174
Name,
175175
throwIfNotExists: false) != null)
176176
{
177-
string confirmationMessage = ($"The stack '{Name}' in Resource Group '{ResourceGroupName}' you're trying to create already exists. Do you want to overwrite it?");
177+
string confirmationMessage = ($"The DeploymentStack '{Name}' in Resource Group '{ResourceGroupName}' you're trying to create already exists. Do you want to overwrite it?");
178178

179179
ConfirmAction(
180180
Force.IsPresent,

src/Resources/ResourceManager/Implementation/DeploymentStacks/NewAzSubscriptionDeploymentStack.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ public override void ExecuteCmdlet()
172172
throwIfNotExists: false) != null)
173173
{
174174

175-
string confirmationMessage = ($"The stack '{Name}' you're trying to create already exists in the current subscription. Do you want to overwrite it?");
175+
string confirmationMessage = ($"The DeploymentStack '{Name}' you're trying to create already exists in the current subscription. Do you want to overwrite it?");
176176

177177
ConfirmAction(
178178
Force.IsPresent,

src/Resources/ResourceManager/Implementation/DeploymentStacks/SetAzResourceGroupDeploymentStack.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ public override void ExecuteCmdlet()
175175
throwIfNotExists: false) == null)
176176
{
177177
string confirmationMessage =
178-
$"The stack '{Name}' you're trying to modify does not exist in '{ResourceGroupName}'. Do you want to create a new stack?";
178+
$"The DeploymentStack '{Name}' you're trying to modify does not exist in '{ResourceGroupName}'. Do you want to create a new stack?";
179179

180180
ConfirmAction(
181181
Force.IsPresent,

src/Resources/ResourceManager/Implementation/DeploymentStacks/SetAzSubscriptionDeploymentStack.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ public override void ExecuteCmdlet()
173173
throwIfNotExists: false) == null)
174174
{
175175
string confirmationMessage =
176-
$"The stack '{Name}' you're trying to modify does not exist in the current subscription. Do you want to create a new stack?";
176+
$"The DeploymentStack '{Name}' you're trying to modify does not exist in the current subscription. Do you want to create a new stack?";
177177

178178
ConfirmAction(
179179
Force.IsPresent,

0 commit comments

Comments
 (0)