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: list pods by resourceTree instread of labelSelectors #196

Closed
wants to merge 0 commits into from

Conversation

bysph
Copy link
Collaborator

@bysph bysph commented Oct 7, 2023

Description of your changes

Using tag selectors to query a list of pods is not entirely reliable, ArgoCD consider that and utilizes the owner reference to build a resource tree, Horizon should rely on it too.

I have:

  • Read and followed Horizon's contribution process.
  • Run make build && make lint to ensure this PR is ready for review.

How has this code been tested

I have tested this code in local and dev environment, pod list remains the same as before this fix.

Special notes for your reviewer

@codeclimate
Copy link

codeclimate bot commented Oct 13, 2023

Code Climate has analyzed commit c0d4ace and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (60% is the threshold).

This pull request will bring the total coverage in the repository to 65.8% (0.0% change).

View more on Code Climate.

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