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

Patch duplicate Prometheus Reporting Task #420

Merged
merged 2 commits into from
Apr 22, 2024

Conversation

juldrixx
Copy link
Contributor

@juldrixx juldrixx commented Apr 22, 2024

Q A
Bug fix? yes
New feature? no
API breaks? no
Deprecations? no
Related tickets -
License Apache 2.0

What's in this PR?

Change Status Update to Status Patch when the Prometheus Reporting Task is synced.

Why?

When the Reporting Task is first created, the resource may have been updated. The update therefore fails, resulting in an error and the re-creation of the reporting task and a duplicate.

Checklist

  • Implementation tested
  • Error handling code meets the guideline
  • Logging code meets the guideline
  • User guide and development docs updated (if needed)
  • Append changelog with changes

@juldrixx juldrixx requested review from mh013370 and erdrix April 22, 2024 12:32
@mh013370
Copy link
Member

This same thing was happening with dataflows (process groups) previously and this change fixed that issue i believe. LGTM

@juldrixx juldrixx merged commit 318b30a into master Apr 22, 2024
5 checks passed
@juldrixx juldrixx deleted the patch/duplicate_prometheus_reporting_task branch April 22, 2024 14:25
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