Skip to content

Commit 955f28c

Browse files
committed
Correction of error statement in resx file
1 parent d590357 commit 955f28c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Properties/Resources.Designer.cs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Properties/Resources.resx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ ClientRequestId: {3}</value>
247247
Are you sure you want to continue {0}?</value>
248248
</data>
249249
<data name="StorageIsNotInTheSameLocationAsVault" xml:space="preserve">
250-
<value>Storage account given is in {0} whereas the vault is in {1}.
250+
<value>Storage account given is in a different location as compared to the current vault.
251251
Please provide a storage account with the same location as that of the vault.</value>
252252
</data>
253253
<data name="StorageAccountValidationUnsuccessful" xml:space="preserve">

src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/CreateAzureSiteRecoveryProtectionProfileObject.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ private void EnterpriseToAzureProtectionProfileObject()
221221
this.WriteWarning(string.Format(Properties.Resources.StorageAccountValidationUnsuccessful));
222222
}
223223

224-
if (!locationValid)
224+
if (validationSuccessful && !locationValid)
225225
{
226226
this.WriteWarning(string.Format(Properties.Resources.StorageIsNotInTheSameLocationAsVault));
227227
}

0 commit comments

Comments
 (0)