Skip to content

Commit

Permalink
Fix data race in roleListFunc
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidS-ovm committed Sep 27, 2023
1 parent cbf669c commit d3746e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/iam/role.go
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ func roleListFunc(ctx context.Context, client IAMClient, scope string, limit *so
Role: role,
}

err = enrichRole(ctx, client, &details, limit)
err := enrichRole(ctx, client, &details, limit)

if err != nil {
return nil, err
Expand Down

0 comments on commit d3746e2

Please sign in to comment.