Skip to content

Commit

Permalink
Use pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
amogh09 committed Jul 21, 2022
1 parent 63d188f commit ee671ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agent/credentials/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ type IAMRoleCredentials struct {
type TaskIAMRoleCredentials struct {
ARN string
IAMRoleCredentials IAMRoleCredentials
lock sync.RWMutex
lock *sync.RWMutex
}

// GetIAMRoleCredentials returns the IAM role credentials in the task IAM role struct
Expand Down

0 comments on commit ee671ba

Please sign in to comment.