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

[1.9] Avoid updating the association status when no association (#4986) #4987

Merged
merged 1 commit into from
Oct 25, 2021

Conversation

thbkrkr
Copy link
Contributor

@thbkrkr thbkrkr commented Oct 21, 2021

This fixes a bug where the association status of the Elasticsearch resource is updated by the EsMonitoring association controller when there is no association and therefore no changes to be made. The `oldStatus` and the `newStatus` appeared to be different because one was nil and the other was empty. The equality tests now supports this situation.
@thbkrkr thbkrkr added the >bug Something isn't working label Oct 21, 2021
@thbkrkr thbkrkr requested a review from david-kow October 21, 2021 14:01
@thbkrkr thbkrkr added backport For backport PRs v1.9.0 labels Oct 21, 2021
@thbkrkr thbkrkr merged commit d7baa90 into elastic:1.9 Oct 25, 2021
@thbkrkr thbkrkr deleted the backport-4986 branch November 3, 2021 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport For backport PRs >bug Something isn't working v1.9.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants