Skip to content

Commit 9497268

Browse files
author
Hovsep Mkrtchyan
committed
Addressed review feedbacks
1 parent 285c386 commit 9497268

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -485,8 +485,8 @@ private bool TryGetTenantSubscription(IAccessToken accessToken,
485485
{
486486
var subscriptions = (subscriptionClient.Subscriptions.List().Subscriptions ??
487487
new List<Microsoft.Azure.Subscriptions.Models.Subscription>())
488-
.Where(s => s.State.Equals("enabled", StringComparison.OrdinalIgnoreCase) ||
489-
s.State.Equals("warned", StringComparison.OrdinalIgnoreCase));
488+
.Where(s => "enabled".Equals(s.State, StringComparison.OrdinalIgnoreCase) ||
489+
"warned".Equals(s.State, StringComparison.OrdinalIgnoreCase));
490490

491491
if (subscriptions.Any())
492492
{

0 commit comments

Comments
 (0)