[release/1.2] Add user agent header to all requests#3338
Merged
crosbymichael merged 1 commit intocontainerd:release/1.2from Jun 12, 2019
Merged
[release/1.2] Add user agent header to all requests#3338crosbymichael merged 1 commit intocontainerd:release/1.2from
crosbymichael merged 1 commit intocontainerd:release/1.2from
Conversation
Currently the user agent is only being used on the initial resolve request, then switching to the default user agent. This ensures the correct user agent is always used. There is a larger fix in progress which does this is a cleaner way, but the scope of this change is fixing the user agent issue. Signed-off-by: Derek McGowan <derek@mcgstyle.net>
Codecov Report
@@ Coverage Diff @@
## release/1.2 #3338 +/- ##
===============================================
- Coverage 43.75% 40.92% -2.83%
===============================================
Files 101 70 -31
Lines 10763 9434 -1329
===============================================
- Hits 4709 3861 -848
+ Misses 5319 5012 -307
+ Partials 735 561 -174
Continue to review full report at Codecov.
|
Member
|
LGTM |
Member
|
PR in master is #3335 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a backport of the user agent fix for 2.7. Since the custom header change wasn't added in yet to 1.2, this just always sets the user agent to the default (the only difference was in creation of a new resolver).