Skip to content

Commit

Permalink
Update query_test.go
Browse files Browse the repository at this point in the history
Signed-off-by: Pranav <[email protected]>
  • Loading branch information
pawarpranav83 authored Dec 22, 2023
1 parent c4a54b6 commit 10cb058
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/e2e/query_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1739,10 +1739,9 @@ func RemoteWrite(ctx context.Context, timeseries []prompb.TimeSeries, addr strin
req.Header.Add("Content-Encoding", "snappy")
req.Header.Set("Content-Type", "application/x-protobuf")
req.Header.Set("X-Prometheus-Remote-Write-Version", "0.1.0")
// req.Header.Set("X-Scope-OrgID", c.orgID) // Doubt

// Execute HTTP request
res, err := promclient.NewDefaultClient().HTTPClient.Do(req.WithContext(ctx)) // Doubt
res, err := promclient.NewDefaultClient().HTTPClient.Do(req.WithContext(ctx))
if err != nil {
return err
}
Expand Down

0 comments on commit 10cb058

Please sign in to comment.