Skip to content
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

bugfix: fix client login logic #1044

Merged
merged 1 commit into from
Apr 3, 2018
Merged

bugfix: fix client login logic #1044

merged 1 commit into from
Apr 3, 2018

Conversation

Ace-Tang
Copy link
Contributor

@Ace-Tang Ace-Tang commented Apr 3, 2018

remove statuscode compare, since if login get unauthorized
error, http post will get a nil Response.

Fixes #1030.

Ⅰ. Describe what this PR did

Ⅱ. Does this pull request fix one issue?

Ⅲ. Describe how you did it

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

remove statuscode compare, since if login get unauthorized
error, http post will get a nil Response.

Fixes: #1030.
@pouchrobot pouchrobot added areas/log kind/bug This is bug report for project size/XS labels Apr 3, 2018
@pouchrobot
Copy link
Collaborator

@Ace-Tang Thanks for your contribution. 🍻
Please sign off in each of your commits.

@codecov-io
Copy link

Codecov Report

Merging #1044 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1044   +/-   ##
=======================================
  Coverage   15.68%   15.68%           
=======================================
  Files         139      139           
  Lines        8499     8499           
=======================================
  Hits         1333     1333           
  Misses       7066     7066           
  Partials      100      100
Impacted Files Coverage Δ
client/registry_login.go 100% <100%> (ø) ⬆️

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 800c68a...0a41769. Read the comment docs.

@allencloud
Copy link
Collaborator

LGTM

@pouchrobot pouchrobot added the LGTM one maintainer or community participant agrees to merge the pull reuqest. label Apr 3, 2018
@allencloud allencloud merged commit 3860821 into master Apr 3, 2018
@Ace-Tang Ace-Tang deleted the correct_login_logic branch April 3, 2018 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
areas/log kind/bug This is bug report for project LGTM one maintainer or community participant agrees to merge the pull reuqest. size/XS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[bug] function RegistryLogin in client package has incorrect logic
4 participants