Skip to content

Conversation

@Sovietaced
Copy link
Contributor

This pull request addresses a regression I noticed in multi source support: #636 (comment)

The old code would rely on detecting the source type based on the status fields which worked for us because application sets are unable to specify such fields. With the new code, the source type would always end up defaulting to the directory type which was incorrect and broke our application sets.

This pull request reverts to the old behavior which should work for all cases hopefully.

@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 0% with 4 lines in your changes missing coverage. Please review.

Project coverage is 67.98%. Comparing base (e4270b8) to head (36db982).

Files Patch % Lines
pkg/argocd/argocd.go 0.00% 4 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master     #772   +/-   ##
=======================================
  Coverage   67.98%   67.98%           
=======================================
  Files          31       31           
  Lines        3124     3124           
=======================================
  Hits         2124     2124           
  Misses        856      856           
  Partials      144      144           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@chengfang chengfang merged commit 2bf4b0a into argoproj-labs:master Jul 16, 2024
@chengfang
Copy link
Collaborator

Codecov Report

Attention: Patch coverage is 0% with 4 lines in your changes missing coverage. Please review.

Project coverage is 67.98%. Comparing base (e4270b8) to head (36db982).

Files Patch % Lines
pkg/argocd/argocd.go 0.00% 4 Missing ⚠️
Additional details and impacted files
☔ View full report in Codecov by Sentry. 📢 Have feedback on the report? Share it here.

The missing tests will be addressed later.

@chengfang
Copy link
Collaborator

@Sovietaced thanks!

sribiere-jellysmack pushed a commit to sribiere-jellysmack/argocd-image-updater that referenced this pull request Aug 13, 2024
@Sovietaced Sovietaced deleted the fix-source-detection branch October 15, 2024 03:00
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.

3 participants