Skip to content

Commit bac6f98

Browse files
author
Hovsep Mkrtchyan
committed
Addressed CR feedbacks
1 parent 8f7de24 commit bac6f98

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/ResourceManager/Profile/Commands.Profile/Models/RMProfileClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public AzureRMProfile Login(
9797
accountId = account.Id;
9898
account.SetOrAppendProperty(AzureAccount.Property.Tenants, tenant);
9999
}
100-
else if (accountId == account.Id)
100+
else if (accountId.Equals(account.Id, StringComparison.OrdinalIgnoreCase))
101101
{
102102
account.SetOrAppendProperty(AzureAccount.Property.Tenants, tenant);
103103
}

src/ResourceManager/Profile/Commands.Profile/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/ResourceManager/Profile/Commands.Profile/Properties/Resources.resx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
<value>AccountId must be provided to use an AccessToken credential.</value>
122122
</data>
123123
<data name="AccountIdMismatch" xml:space="preserve">
124-
<value>AccountId '{0}' for tenant '{1}' does not match home accountId '{2}'</value>
124+
<value>Account ID '{0}' for tenant '{1}' does not match home Account ID '{2}'</value>
125125
</data>
126126
<data name="AccountIdRequired" xml:space="preserve">
127127
<value>Access token credentials must provide the AccountId parameter.</value>

0 commit comments

Comments
 (0)