-
Notifications
You must be signed in to change notification settings - Fork 191
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 SIGSEGV when resolving charts dependencies #827
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks @souleb
supported := repository.IsDepSupported(nUrl) | ||
if !supported { | ||
err = fmt.Errorf("unsupported chart repository URL: %s", nUrl) | ||
return | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we provide a better reason here by making IsDepSupported
return e.g. a descriptive error? I think this will reduce support questions by explicitly telling the user it's due to an alias.
If implemented, this make sure than we clear only referenced downloaders. It is also checked if the repository url is supported. Signed-off-by: Soule BA <soule@weave.works>
fixes #815
If implemented, this make sure that we clear only referenced downloaders.
It is also checked if the repository url is supported.
Signed-off-by: Soule BA soule@weave.works