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: set wrong auth domain at sealer login #1471

Merged

Conversation

kakaZhou719
Copy link
Member

Describe what this PR does / why we need it

Does this pull request fix one issue?

Fixes #1459

Describe how you did it

only keep url host at config file for authorization reused if user try login with full url string.

Describe how to verify it

Special notes for reviews

@allencloud
Copy link
Member

For these bugfix, we all need to add a test case to cover it. Otherwise, when project becomes complex, we have no idea about if this would introduce another bug, or break other normal functionality.

@allencloud allencloud added the command sealer terminal command related label Jun 8, 2022
@kakaZhou719 kakaZhou719 requested a review from VinceCui June 9, 2022 02:24
@VinceCui
Copy link
Collaborator

VinceCui commented Jun 9, 2022

LGTM

Copy link
Collaborator

@VinceCui VinceCui left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Collaborator

@VinceCui VinceCui left a comment

Choose a reason for hiding this comment

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

LGTM

@VinceCui VinceCui merged commit ec33c1e into sealerio:main Jun 9, 2022
bxy4543 pushed a commit to bxy4543/sealer that referenced this pull request Jun 27, 2022
* bugfix:set wrong auth domain at registry login

* add unit test for registry hostname convert
@kakaZhou719 kakaZhou719 deleted the bugfix-registry-login-set-wrong-auth-info branch June 28, 2023 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
command sealer terminal command related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

failed to login an http registry with sealer, while https registry succeed
3 participants