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: remove false positive for no-discovery cmp; log string, not bytes #13251

Merged
merged 1 commit into from
Apr 24, 2023

Conversation

crenshaw-dev
Copy link
Collaborator

@crenshaw-dev crenshaw-dev commented Apr 15, 2023

🤖 Generated by Copilot at a95bc7c

Fix a bug in plugin discovery and improve plugin command logging. The bug fix corrects a typo in config.go that caused incorrect plugin configuration detection. The logging improvement uses stderr.String() instead of stderr in plugin.go to show the error output of plugin commands.

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
@crenshaw-dev
Copy link
Collaborator Author

/cherry-pick release-2.7

@crenshaw-dev
Copy link
Collaborator Author

/cherry-pick release-2.6

@crenshaw-dev
Copy link
Collaborator Author

crenshaw-dev commented Apr 15, 2023

/cherry-pick release-2.5

@codecov
Copy link

codecov bot commented Apr 15, 2023

Codecov Report

Patch coverage: 50.00% and no project coverage change.

Comparison is base (9b53eeb) 49.05% compared to head (a95bc7c) 49.05%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #13251   +/-   ##
=======================================
  Coverage   49.05%   49.05%           
=======================================
  Files         246      246           
  Lines       42569    42575    +6     
=======================================
+ Hits        20882    20885    +3     
- Misses      19572    19574    +2     
- Partials     2115     2116    +1     
Impacted Files Coverage Δ
cmpserver/plugin/config.go 32.35% <0.00%> (ø)
cmpserver/plugin/plugin.go 81.29% <100.00%> (ø)

... and 2 files with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Collaborator

@leoluz leoluz left a comment

Choose a reason for hiding this comment

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

LGTM

@leoluz leoluz merged commit af5bb44 into argoproj:master Apr 24, 2023
23 checks passed
gcp-cherry-pick-bot bot pushed a commit that referenced this pull request Apr 24, 2023
#13251)

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
@gcp-cherry-pick-bot
Copy link

Cherry-pick failed with Merge error af5bb44add3e85c2a8acd6571c821785ae223b43 into temp-cherry-pick-902aca-release-2.6

@gcp-cherry-pick-bot
Copy link

Cherry-pick failed with Merge error af5bb44add3e85c2a8acd6571c821785ae223b43 into temp-cherry-pick-902aca-release-2.5

crenshaw-dev added a commit that referenced this pull request Apr 24, 2023
#13251) (#13336)

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
schakrad pushed a commit to schakrad/argo-cd that referenced this pull request Jul 24, 2023
argoproj#13251) (argoproj#13336)

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Signed-off-by: schakrad <58915923+schakrad@users.noreply.github.com>
yyzxw pushed a commit to yyzxw/argo-cd that referenced this pull request Aug 9, 2023
argoproj#13251)

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
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.

None yet

2 participants