Skip to content

Conversation

aaronlehmann
Copy link
Contributor

This simple change mainly affects the distribution client. By respecting
the context the caller passes in, timeouts and cancellations will work
as expected. Also, transports which rely on the context (such as tracing
transports that retrieve a span from the context) will work properly.

This simple change mainly affects the distribution client. By respecting
the context the caller passes in, timeouts and cancellations will work
as expected. Also, transports which rely on the context (such as tracing
transports that retrieve a span from the context) will work properly.

Signed-off-by: Aaron Lehmann <alehmann@netflix.com>
@codecov-commenter
Copy link

codecov-commenter commented Aug 10, 2022

Codecov Report

Merging #3711 (fbdfd1a) into main (26163d8) will decrease coverage by 0.01%.
The diff coverage is 83.33%.

@@            Coverage Diff             @@
##             main    #3711      +/-   ##
==========================================
- Coverage   57.39%   57.38%   -0.02%     
==========================================
  Files         105      105              
  Lines       10835    10839       +4     
==========================================
+ Hits         6219     6220       +1     
- Misses       3932     3934       +2     
- Partials      684      685       +1     
Impacted Files Coverage Δ
registry/client/blob_writer.go 49.54% <75.00%> (ø)
registry/client/auth/session.go 66.31% <80.00%> (-0.59%) ⬇️
registry/client/repository.go 54.88% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@milosgajdos milosgajdos requested a review from joaodrp August 10, 2022 17:56
Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SGTM

@milosgajdos milosgajdos merged commit 6c23795 into distribution:main Aug 16, 2022
@aaronlehmann aaronlehmann deleted the request-with-context branch August 16, 2022 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants