Skip to content

Commit

Permalink
Fix crow error from prom common upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
kgeckhart committed Nov 3, 2023
1 parent 6cea668 commit 4f5ee9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/crow/crow.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ func newCrow(cfg Config) (*Crow, error) {
RoundTripper: api.DefaultRoundTripper,
}
if cfg.UserID != "" && cfg.PasswordFile != "" {
apiCfg.RoundTripper = commonCfg.NewBasicAuthRoundTripper(cfg.UserID, "", cfg.PasswordFile, api.DefaultRoundTripper)
apiCfg.RoundTripper = commonCfg.NewBasicAuthRoundTripper(cfg.UserID, "", "", cfg.PasswordFile, api.DefaultRoundTripper)
}
if cfg.OrgID != "" {
apiCfg.RoundTripper = &nethttp.Transport{
Expand Down

0 comments on commit 4f5ee9c

Please sign in to comment.