Skip to content

refactor: ReconciliationMaxInterval -> MaxReconciliationInterval #1343

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

Merged
merged 4 commits into from
Jul 15, 2022
Merged

Conversation

metacosm
Copy link
Collaborator

No description provided.

@metacosm metacosm added this to the 3.2 milestone Jul 15, 2022
@metacosm metacosm self-assigned this Jul 15, 2022
@metacosm metacosm requested a review from csviri July 15, 2022 09:21
@csviri
Copy link
Collaborator

csviri commented Jul 15, 2022

Should not we just rename this? and put it into migration guide also. It will look quite ugly in the main APIs. Doubting that much people using this, and it is easy to migrate.

@csviri
Copy link
Collaborator

csviri commented Jul 15, 2022

Not sure if the wording is even better this way tbh.

@metacosm
Copy link
Collaborator Author

Not sure if the wording is even better this way tbh.

The current wording doesn't follow English rules :)

@csviri
Copy link
Collaborator

csviri commented Jul 15, 2022

fair enough :)

@metacosm metacosm modified the milestones: 3.2, 3.1 Jul 15, 2022
@@ -39,6 +49,9 @@
public class AnnotationControllerConfiguration<P extends HasMetadata>
implements io.javaoperatorsdk.operator.api.config.ControllerConfiguration<P> {

private static final Logger log =
Copy link
Collaborator

Choose a reason for hiding this comment

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

is this used somewhere?

Copy link
Collaborator

@csviri csviri left a comment

Choose a reason for hiding this comment

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

Just left two things to check

/**
* @deprecated use {@link #NO_MAX_RECONCILIATION_INTERVAL} instead
*/
@Deprecated(forRemoval = true)
public static final long NO_RECONCILIATION_MAX_INTERVAL = -1L;
Copy link
Collaborator

Choose a reason for hiding this comment

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

This can be removed I guess

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 89 Code Smells

65.9% 65.9% Coverage
0.3% 0.3% Duplication

@metacosm
Copy link
Collaborator Author

Done.

Copy link
Collaborator

@csviri csviri left a comment

Choose a reason for hiding this comment

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

LGTM

@metacosm metacosm merged commit eb2e5fa into next Jul 15, 2022
@metacosm metacosm deleted the rename branch July 15, 2022 12:03
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