Skip to content

Conversation

jpellizzari
Copy link
Contributor

@jpellizzari jpellizzari commented Nov 21, 2022

Closes #1887

Removes an error where a leaf cluster does not have TF installed.

@jpellizzari jpellizzari added the enhancement New feature or request label Nov 21, 2022
@jpellizzari jpellizzari marked this pull request as ready for review November 28, 2022 17:00
Copy link
Contributor

@luizbafilho luizbafilho left a comment

Choose a reason for hiding this comment

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

Wouldn't be possible to check by error message if is something related to the missing CRD?

@jpellizzari
Copy link
Contributor Author

jpellizzari commented Nov 28, 2022

Wouldn't be possible to check by error message if is something related to the missing CRD?

Checking for a string in an error message seems problematic, as if the message text changes the behavior would break. Should I add a custom error type to the clustermngr package instead @luizbafilho ? That would require another release to take effect.

@luizbafilho
Copy link
Contributor

Checking for a string in an error message seems problematic, as if the message text changes the behavior would break. Should I add a custom error type to the clustermngr package instead @luizbafilho ? That would require another release to take effect.

yep, I think that would be better, although is annoying requiring releases but that is what we get for now. I'd prefer that to potentially hide errors.

@jpellizzari jpellizzari force-pushed the 1887-tf-404 branch 4 times, most recently from d0317b9 to d53c6ae Compare November 29, 2022 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unwanted error message displayed for Terraform when missing on leaf clusters
2 participants