Skip to content

Commit

Permalink
Update cli/root.go
Browse files Browse the repository at this point in the history
Co-authored-by: Julien Pivotto <[email protected]>
  • Loading branch information
clyang82 and roidelapluie authored Nov 11, 2021
1 parent 0e9f011 commit 04a8436
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func NewAlertmanagerClient(amURL *url.URL) *client.Alertmanager {
}

if amURL.User != nil && bearerToken != "" {
kingpin.Fatalf("could not specify multiple authentication mechanisms.")
kingpin.Fatalf("basic authentication and bearer token are mutually exclusive")
}

if amURL.User != nil {
Expand Down

0 comments on commit 04a8436

Please sign in to comment.