Skip to content

Commit 9c22291

Browse files
committed
Fix bad merge
1 parent c249497 commit 9c22291

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ResourceManager/Resources/Commands.Resources/Models.Authorization/AuthorizationClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ public IEnumerable<PSRoleAssignment> RemoveRoleAssignment(FilterRoleAssignmentsO
279279
// Match role assignments at exact scope. Ideally, atmost 1 roleAssignment should match the criteria
280280
// but an edge case can have multiple role assignments to the same role or multiple role assignments to different roles, with same name.
281281
// The FilterRoleAssignments takes care of paging internally
282-
IEnumerable<PSRoleAssignment> roleAssignments = FilterRoleAssignments(options, currentSubscription: string.Empty)
282+
IEnumerable<PSRoleAssignment> roleAssignments = FilterRoleAssignments(options, currentSubscription: subscriptionId)
283283
.Where(ra => ra.Scope == options.Scope.TrimEnd('/'));
284284

285285
if (roleAssignments == null || !roleAssignments.Any())

0 commit comments

Comments
 (0)