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

Check isLeader in compliance checks if function given #6311

Merged
merged 1 commit into from
Sep 11, 2020

Conversation

vboulineau
Copy link
Contributor

What does this PR do?

Check isLeader in common check function to avoid running cluster checks in all Cluster Agent instances.

Motivation

What inspired you to submit this pull request?

Additional Notes

Anything else we should know when reviewing?

Describe your test plan

Deploy compliance with at least 2 Cluster Agent instances, check that only 1 instances send compliance logs in Datadog.

@vboulineau vboulineau requested a review from a team September 2, 2020 16:50
Copy link
Contributor

@xornivore xornivore left a comment

Choose a reason for hiding this comment

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

💯

@vboulineau vboulineau added this to the 7.23.0 milestone Sep 2, 2020
@ahmed-mez ahmed-mez modified the milestones: 7.23.0, DCA_1.9.0 Sep 10, 2020
@vboulineau vboulineau merged commit f80a696 into master Sep 11, 2020
@vboulineau vboulineau deleted the vboulineau/leader_compliance branch September 11, 2020 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants