Skip to content

Commit

Permalink
fix copy pasta error in api client auth
Browse files Browse the repository at this point in the history
  • Loading branch information
wandergeek committed Aug 9, 2023
1 parent 45030d2 commit 59e6500
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/clients/api_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ func (a *ApiClient) SetSloAuthContext(ctx context.Context) context.Context {
}

func (a *ApiClient) SetAlertingAuthContext(ctx context.Context) context.Context {
return context.WithValue(ctx, slo.ContextBasicAuth, slo.BasicAuth{
return context.WithValue(ctx, alerting.ContextBasicAuth, alerting.BasicAuth{
UserName: a.kibanaConfig.Username,
Password: a.kibanaConfig.Password,
})
Expand Down

0 comments on commit 59e6500

Please sign in to comment.