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 Demidoff <[email protected]>
  • Loading branch information
JiriCtvrtka and ademidoff authored Jan 10, 2025
1 parent 1c86444 commit 614e95f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions managed/services/grafana/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ import (
)

var (
// ErrFailedToGetToken means it failed to get user's token. Most likely due to the fact user is not logged in using Percona Account.
ErrFailedToGetToken = errors.New("failed to get token")
// ErrFailedToGetToken means it failed to get the user token. Most likely due to the fact the user is not logged in using Percona Account.
ErrFailedToGetToken = errors.New("failed to get the user token")
// ErrIsNotServiceAccount means that provided auth header is not Service account. Most likely it is API Key.
ErrIsNotServiceAccount = errors.New("not a service account token")
)
Expand Down

0 comments on commit 614e95f

Please sign in to comment.