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(rds/dbinstance): remove minor engineVersion lateinit #1811

Conversation

wotolom
Copy link
Contributor

@wotolom wotolom commented Jul 21, 2023

Description of your changes

Since the change from #1765, the handling of major and minor engine version is now thoroughly in isUpToDate(). Also the actual engineVersion is now displayed in status.atProvider.
I noticed that for DBInstance, there was still some code in lateInit(), that also tackled that issue. This results in "unclean" display of the complete engine version also in forProvider even when the user only wants to set the major engine version.
This can and should now be removed.

Fixes #

I have:

  • Read and followed Crossplane's [contribution process].
  • Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

Manually

Signed-off-by: Charel Baum (external expert on behalf of DB Netz AG) <[email protected]>
Copy link
Collaborator

@MisterMX MisterMX left a comment

Choose a reason for hiding this comment

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

LGTM. I think it makes sense to drop this from LateInitialize. Thanks a lot @wotolom!

@MisterMX MisterMX merged commit 61cc228 into crossplane-contrib:master Jul 21, 2023
8 checks passed
@wotolom wotolom deleted the dbinstance-remove-lateinit-engineversion branch August 23, 2023 11:51
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.

2 participants