-
Notifications
You must be signed in to change notification settings - Fork 1
Refactor/move bundle analysis #109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
🎉 Snyk checks have passed. No issues have been found so far.✅ security/snyk check is complete. No issues have been found. (View Details) ✅ license/snyk check is complete. No issues have been found. (View Details) ✅ code/snyk check is complete. No issues have been found. (View Details) |
@@ -158,3 +158,15 @@ func NewDefaultClientFactory() HTTPClientFactory { | |||
clientFunc := func() *http.Client { return http.DefaultClient } | |||
return clientFunc | |||
} | |||
|
|||
func AddDefaultHeaders(req *http.Request, requestId string, orgId string) { | |||
// if requestId is empty it will be enriched from the Gateway |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this different than the other adddefaulthaders func that add snyk-org header?
Description
Provide description of this PR and changes, if linked Jira ticket doesn't cover it in full.
Checklist
🚨After having merged, please update the
snyk-ls
and CLI go.mod to pull in latest client.