-
Notifications
You must be signed in to change notification settings - Fork 22
NETOBSERV-2244: show topology when expectedNodes is set #847
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
|
That should be enough to fix the issue (not tested yet) |
|
@jpinsonneau: This pull request references NETOBSERV-2244 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "4.20.0" version, but no target version was set. 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 openshift-eng/jira-lifecycle-plugin repository. |
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.
I don't get the logic
But if that works, ok! :-)
perhaps I just don't have enough of my morning coffee
/lgtm
(tests required)
The use case here is:
Previously, the view was showing an empty message since the returned metrics are empty despite the show empty is still checked and empty udns are still provided Gonna test that today 😉 |
|
/retest |
|
New image: It will expire after two weeks. To deploy this build, run from the operator repo, assuming the operator is running: USER=netobserv VERSION=9bc78ed make set-plugin-image |
|
Tested and works fine: The only downside of this approach is that the UI is going to show all the empty UDNs even when you filter on network names 🤔 I may add an exception for that case if you feel it's necessary but it could become hard to maintain in future if we implement the same "show empty" behavior on other scopes. WDYT ? |
|
@jpinsonneau the "display empty" checkbox is enabled by default, right? I think that would be my concern, users who did not explicitly wanted to show empty items, they would still see them regardless of what they filter. |
Yes we can move if to false by default if you prefer. |
|
/ok-to-test |
|
Filtering on empty UDN now works, but shows all empty UDN's irrespective of whats being filtered. +1 to Joel's comment. Its better to keep Show Empty unchecked on default and the above scenario only affects customers who wants to see empty UDN's |
|
@jpinsonneau are we ok to implement the opposite default as mentioned? |
sure, done in d44a03e You will need to clear your local storage to see the diff |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest |
|
thanks, |
|
/ok-to-test |
|
New image: It will expire after two weeks. To deploy this build, run from the operator repo, assuming the operator is running: USER=netobserv VERSION=1b712a9 make set-plugin-image |
|
@jpinsonneau: The following tests 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-sigs/prow repository. I understand the commands that are listed here. |
|
/label qe-approved |
|
@jpinsonneau: This pull request references NETOBSERV-2244 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "4.20.0" version, but no target version was set. 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 openshift-eng/jira-lifecycle-plugin repository. |

Description
Fix empty UDN's filtering not working as expected
Dependencies
n/a
Checklist
If you are not familiar with our processes or don't know what to answer in the list below, let us know in a comment: the maintainers will take care of that.