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

Issue 105 #107

Merged
merged 3 commits into from
Nov 24, 2021
Merged

Issue 105 #107

merged 3 commits into from
Nov 24, 2021

Conversation

krisnova
Copy link
Owner

Addressing concerns in 105

closes #105

Signed-off-by: Kris Nóva <kris@nivenly.com>
Signed-off-by: Kris Nóva <kris@nivenly.com>
Signed-off-by: Kris Nóva <kris@nivenly.com>
@krisnova krisnova merged commit 0ff04ac into main Nov 24, 2021
if len(cbytes) > 0 {
// We have both
fmt.Println(string(cbytes))
fmt.Fprintf(os.Stderr, "\nWARNING ⚠\n\nUnable to parse full system: %v\n\nWARNING ⚠\n", err.Error())
Copy link

@larsks larsks Nov 24, 2021

Choose a reason for hiding this comment

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

I thought this should go here so the error message can be explicit about the Kind that couldn't be converted. That sort of specificity in error messages is helpful (and maybe also in the default stanza -- or maybe just drop the *apiextensionsv1.CustomResourceDefinition stanza and rely on default -- for the same reasons you brought up in #105).

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.

Codify doesn't deal well with unknown resource types
2 participants