Skip to content

Commit fb2cf7b

Browse files
committed
Updating the warning message
1 parent 6864a8a commit fb2cf7b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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 1810 update
119119
'
120120

121121
} # End of PSData hashtable

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 'Run Test-AzureStack -Group UpdateReadiness to validate the status of your Azure Stack and resolve any operational issues found, including all warnings and failures.'
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("Run Test-AzureStack -Group UpdateReadiness to validate the status of your Azure Stack and resolve any operational issues found, including all warnings and failures. 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)