File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
src/ResourceManager/Resources/Commands.Resources/Models.Authorization Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -318,7 +318,7 @@ public IEnumerable<PSRoleAssignment> RemoveRoleAssignment(FilterRoleAssignmentsO
318
318
// but an edge case can have multiple role assignments to the same role or multiple role assignments to different roles, with same name.
319
319
// The FilterRoleAssignments takes care of paging internally
320
320
IEnumerable < PSRoleAssignment > roleAssignments = FilterRoleAssignments ( options , currentSubscription : subscriptionId )
321
- . Where ( ra => ra . Scope . Equals ( options . Scope . TrimEnd ( '/' ) , StringComparison . OrdinalIgnoreCase ) ) ;
321
+ . Where ( ra => ra . Scope . TrimEnd ( '/' ) . Equals ( options . Scope . TrimEnd ( '/' ) , StringComparison . OrdinalIgnoreCase ) ) ;
322
322
323
323
if ( roleAssignments == null || ! roleAssignments . Any ( ) )
324
324
{
You can’t perform that action at this time.
0 commit comments