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: Count Workflows with no phase as Pending for metrics #4628

Merged
merged 3 commits into from Dec 3, 2020

Conversation

simster7
Copy link
Member

@simster7 simster7 commented Dec 2, 2020

Fixes #4551

Signed-off-by: Simon Behar simbeh7@gmail.com

Checklist:

Signed-off-by: Simon Behar <simbeh7@gmail.com>
Comment on lines +26 to +27
// If the object doesn't have a phase set, consider it pending
return []string{string(v1alpha1.NodePending)}, nil
Copy link
Member Author

Choose a reason for hiding this comment

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

This was our previous behavior.

@simster7 simster7 merged commit 6175458 into argoproj:master Dec 3, 2020
@simster7
Copy link
Member Author

Back-ported to v2.12.0-rc5

simster7 added a commit that referenced this pull request Dec 10, 2020
Signed-off-by: Simon Behar <simbeh7@gmail.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.

workflow metrics is not correct in v2.12.0-rc2 and latest master branch
2 participants