Skip to content

Commit

Permalink
Update client.go
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielHougaard committed Oct 28, 2024
1 parent af8d835 commit c23266a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ func (c *InfisicalClient) setAccessToken(tokenDetails MachineIdentityCredential,

func (c *InfisicalClient) setPlainAccessToken(accessToken string) {
c.mu.Lock()
defer c.mu.Unlock() bad code, build should fail
defer c.mu.Unlock()

c.authMethod = util.ACCESS_TOKEN
c.httpClient.SetAuthScheme("Bearer")
Expand Down

0 comments on commit c23266a

Please sign in to comment.