Skip to content

Commit

Permalink
Save changes to context
Browse files Browse the repository at this point in the history
  • Loading branch information
danielnelson committed Aug 31, 2018
1 parent f6efa1a commit c1dc2d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/outputs/http/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func (h *HTTP) createClient(ctx context.Context) (*http.Client, error) {
TokenURL: h.TokenURL,
Scopes: h.Scopes,
}
context.WithValue(ctx, oauth2.HTTPClient, client)
ctx = context.WithValue(ctx, oauth2.HTTPClient, client)
client = oauthConfig.Client(ctx)
}

Expand Down

0 comments on commit c1dc2d0

Please sign in to comment.