Skip to content

Commit

Permalink
Set ForwardHTTPHeaders to true.
Browse files Browse the repository at this point in the history
  • Loading branch information
fmassot committed Feb 22, 2024
1 parent 0e67cfb commit aea564e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/quickwit/quickwit.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,11 @@ func NewQuickwitDatasource(settings backend.DataSourceInstanceSettings) (instanc
if err != nil {
return nil, fmt.Errorf("error getting http options: %w", err)
}
httpCliOpts.ForwardHTTPHeaders = true

// Set SigV4 service namespace
if httpCliOpts.SigV4 != nil {
httpCliOpts.SigV4.Service = "quicwkit"
httpCliOpts.SigV4.Service = "quickwit"
}

httpCli, err := httpclient.New(httpCliOpts)
Expand Down

0 comments on commit aea564e

Please sign in to comment.