Skip to content

Commit

Permalink
Update managed/services/grafana/client.go
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Tymchuk <[email protected]>
  • Loading branch information
BupycHuk and Alex Tymchuk authored Sep 18, 2023
1 parent ae1f6b3 commit 2d9d335
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion managed/services/grafana/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ func (c *Client) getAuthUser(ctx context.Context, authHeaders http.Header) (auth
}, nil
}

// IsAPIKeyAuth checks if the request made using API Key.
// IsAPIKeyAuth checks if the request is made using an API Key.
func (c *Client) IsAPIKeyAuth(headers http.Header) bool {
authHeader := headers.Get("Authorization")
switch {
Expand Down

0 comments on commit 2d9d335

Please sign in to comment.