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

fix: empty config panic #21

Merged
merged 1 commit into from Feb 16, 2024
Merged

fix: empty config panic #21

merged 1 commit into from Feb 16, 2024

Conversation

JaeAeich
Copy link
Contributor

Description

While login if the config read fails or the config is not found, it makes more sense to not panic but rather print a user-friendly message and exit out.

This PR also removes the deprecated use of ioutils.

Fixes - #8

- replace depricated ioutils methods

Signed-off-by: Jae Aeich <jh4official@gmail.com>
Copy link
Member

@Vad1mo Vad1mo left a comment

Choose a reason for hiding this comment

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

awesome!

@Vad1mo Vad1mo merged commit 93ce9c0 into goharbor:main Feb 16, 2024
1 check passed
@OrlinVasilev
Copy link
Member

@JaeAeich congrats on merging your first PR here :))

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.

None yet

3 participants