-
Notifications
You must be signed in to change notification settings - Fork 61
OCPBUGS-179: fix conditional edge for type always #730
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
Conversation
645a4ac
to
7305bd5
Compare
7305bd5
to
79b4c5a
Compare
@PratikMahajan: This pull request references [Jira Issue OCPBUGS-179](https://issues.redhat.com//browse/OCPBUGS-179), which is invalid:
Comment In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@PratikMahajan: This pull request references [Jira Issue OCPBUGS-179](https://issues.redhat.com//browse/OCPBUGS-179), which is invalid:
Comment In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
message: "All Updates are broken".to_string(), | ||
matching_rules: vec![ClusterCondition { | ||
condition_type: "Always".to_string(), | ||
promql: PromQLClusterCondition { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if we leave this unpopulated, what happens?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
using Default:default()
for Always
condition
69d83ad
to
c8829f7
Compare
conditional edge has an empty promql when the type of conditional block is `Always` This commit skips the serlialization if promql if the promql condition is empty, which is the case for type `Always` Co-Authored-By: W. Trevor King <[email protected]>
c8829f7
to
f9db3fe
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/jira refresh |
@PratikMahajan: This pull request references [Jira Issue OCPBUGS-179](https://issues.redhat.com//browse/OCPBUGS-179), which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/retest |
05f8a17
to
ebc60e0
Compare
add `-L` to follow redirects in case the URL has changed
ebc60e0
to
297f59c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: PratikMahajan, wking The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/override ci/prow/e2e Will be fixed in #719 |
@PratikMahajan: Overrode contexts on behalf of PratikMahajan: ci/prow/e2e In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@PratikMahajan: All pull requests linked via external trackers have merged: [Jira Issue OCPBUGS-179](https://issues.redhat.com//browse/OCPBUGS-179) has been moved to the MODIFIED state. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@PratikMahajan: The following test failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
conditional edge has an empty promql when the type of
conditional block is
Always
This commit skips the serlialization if promql if the
promql condition is empty, which is the case for
type
Always
Co-Authored-By: W. Trevor King [email protected]