Skip to content

Conversation

sevki
Copy link
Contributor

@sevki sevki commented Apr 14, 2019

fetchTokenWithBasicAuth checks if a token is in the token response
but fetchTokenWithOAuth does not

these changes implements the same behaviour for the latter
returning a ErrNoToken if a token is not found in the resposne

Signed-off-by: Sevki Hasirci sevki@cloudflare.com

fetchTokenWithBasicAuth checks if a token is in the token response
but fetchTokenWithOAuth does not

these changes implements the same behaviour for the latter
returning a `ErrNoToken` if a token is not found in the resposne

Signed-off-by: Sevki Hasirci <sevki@cloudflare.com>
@codecov
Copy link

codecov bot commented Apr 14, 2019

Codecov Report

Merging #2900 into master will decrease coverage by 0.01%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2900      +/-   ##
==========================================
- Coverage   60.45%   60.43%   -0.02%     
==========================================
  Files         102      102              
  Lines        8001     8003       +2     
==========================================
  Hits         4837     4837              
- Misses       2517     2518       +1     
- Partials      647      648       +1
Flag Coverage Δ
#linux 60.43% <0%> (-0.02%) ⬇️
Impacted Files Coverage Δ
registry/client/auth/session.go 68.05% <0%> (-0.64%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6d62eb1...5afbf32. Read the comment docs.

Copy link
Contributor

@caervs caervs left a comment

Choose a reason for hiding this comment

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

LGTM

@caervs caervs requested a review from manishtomar May 16, 2019 18:23
@caervs caervs merged commit 84f47e7 into distribution:master Jun 20, 2019
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.

2 participants