Skip to content

Instantly share code, notes, and snippets.

@mbarnes
Created November 8, 2023 20:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mbarnes/9613bf7f9fb294fe75f0abb73ed397a4 to your computer and use it in GitHub Desktop.
Save mbarnes/9613bf7f9fb294fe75f0abb73ed397a4 to your computer and use it in GitHub Desktop.
diff --git a/vendor/github.com/microsoft/kiota-http-go/nethttp_request_adapter.go b/vendor/github.com/microsoft/kiota-http-go/nethttp_request_adapter.go
index c9b25c383..b998b0a86 100644
--- a/vendor/github.com/microsoft/kiota-http-go/nethttp_request_adapter.go
+++ b/vendor/github.com/microsoft/kiota-http-go/nethttp_request_adapter.go
@@ -268,7 +268,7 @@ func (a *NetHttpRequestAdapter) getRequestFromRequestInformation(ctx context.Con
spanForAttributes.SetAttributes(attribute.String("http.uri", uri.String()))
}
- request, err := nethttp.NewRequestWithContext(ctx, requestInfo.Method.String(), uri.String(), nil)
+ request, err := nethttp.NewRequestWithContext(ctx, requestInfo.Method.String(), uri.String()+"?whatin", nil)
if err != nil {
spanForAttributes.RecordError(err)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment