Skip to content

Commit

Permalink
Update cli/root.go
Browse files Browse the repository at this point in the history
Co-authored-by: Simon Pasquier <[email protected]>
Signed-off-by: clyang82 <[email protected]>
  • Loading branch information
clyang82 and simonpasquier committed Jan 7, 2022
1 parent 9d105f6 commit 0625f90
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 @@ -101,7 +101,7 @@ func NewAlertmanagerClient(amURL *url.URL) *client.Alertmanager {

httpclient, err := promconfig.NewClientFromConfig(*httpConfig, "amtool")
if err != nil {
kingpin.Fatalf("failed to create a new HTTP client: %v\n", err)
kingpin.Fatalf("failed to create a new HTTP client: %v", err)
}
cr = clientruntime.NewWithClient(address, path.Join(amURL.Path, defaultAmApiv2path), schemes, httpclient)
}
Expand Down

0 comments on commit 0625f90

Please sign in to comment.