Skip to content

Commit d680069

Browse files
author
Maddie Clayton
authored
Merge pull request #7711 from bganapa/update-warning2
Updating the warning message to match that of portal UI
2 parents 0b6fe28 + 2574d1e commit d680069

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/StackAdmin/Azs.Update.Admin/Module/Azs.Update.Admin/Azs.Update.Admin.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ Licensed under the MIT License. See License.txt in the project root for license
115115

116116
# ReleaseNotes of this module
117117
ReleaseNotes = '## 2018.12
118-
* Added a warning to recommend running Test-AzureStack before Install-AzsUpdate
118+
* Added a warning to recommend running Test-AzureStack before Install-AzsUpdate, supported with 1811 update
119119
'
120120

121121
} # End of PSData hashtable

src/StackAdmin/Azs.Update.Admin/Module/Azs.Update.Admin/Generated.PowerShell.Commands/SwaggerPathCommands/Install-AzsUpdate.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,10 @@ function Install-AzsUpdate {
9595
$Name = Get-ResourceNameSuffix -ResourceName $Name
9696
}
9797

98-
Write-Warning -Message 'It is strongly recommended to run Test-AzureStack(https://aka.ms/testazurestack) before applying update.'
98+
Write-Warning -Message 'Run Test-AzureStack -Group UpdateReadiness to validate the status of your Azure Stack and then resolve any operational issues found, including all warnings and failures.'
9999

100100
if ($PsCmdlet.ShouldProcess($Name, "Install the update")) {
101-
if ($Force.IsPresent -or $PsCmdlet.ShouldContinue("It is strongly recommended to Test-AzureStack before applying update. Are you sure you want to continue?", "Performing Update $Name")) {
101+
if ($Force.IsPresent -or $PsCmdlet.ShouldContinue("Run Test-AzureStack -Group UpdateReadiness to validate the status of your Azure Stack and then resolve any operational issues found, including all warnings and failures. Are you sure you want to continue?", "Performing Update $Name")) {
102102

103103
$NewServiceClient_params = @{
104104
FullClientTypeName = 'Microsoft.AzureStack.Management.Update.Admin.UpdateAdminClient'

0 commit comments

Comments
 (0)