-
Notifications
You must be signed in to change notification settings - Fork 670
Bug 1920655: only show Cluster autoscalar on Cluster Settings if Clu… #7973
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
|
@rhamilto: This pull request references Bugzilla bug 1920655, which is invalid:
Comment DetailsIn 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. |
|
/bugzilla refresh |
|
@rhamilto: This pull request references Bugzilla bug 1920655, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker. 3 validation(s) were run on this bug
DetailsIn 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. |
dtaylor113
left a comment
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
spadgett
left a comment
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.
Thanks @rhamilto 👍
frontend/public/components/cluster-settings/cluster-settings.tsx
Outdated
Show resolved
Hide resolved
|
/hold |
|
@csrwng FYI |
|
Updated. Please take another look, @spadgett |
473076e to
10bef8b
Compare
|
/hold cancel |
spadgett
left a comment
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.
Looks good, just one nit. Thanks @rhamilto
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'd pull useFlag onto its own line outside the if since hooks always need to run in the same order every render. It's not a problem now since the if will always evaluate, but if someone added another condition later like isOpenShift && useFlag(FLAGS.CLUSTER_AUTOSCALER), it could break things. It's a good practice to have hooks on their own near the top of the function.
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.
LOL. I had it on its own line and then optimized. That'll learn me.
…terAutoscalar CRD exists
|
Comment addressed. Thanks, @spadgett. |
spadgett
left a comment
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: dtaylor113, rhamilto, spadgett The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
2 similar comments
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest |
|
/hold for openshift/release#15363 |
|
/retest |
|
/hold cancel |
|
/override ci/prow/ceph-storage-plugin The test should only run on PRs with ceph changes. A bad config change caused the failure. |
|
@spadgett: Overrode contexts on behalf of spadgett: ci/prow/ceph-storage-plugin DetailsIn 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 Please review the full test history for this PR and help us cut down flakes. |
|
@rhamilto: All pull requests linked via external trackers have merged: Bugzilla bug 1920655 has been moved to the MODIFIED state. DetailsIn 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. |
…sterAutoscalar CRD exists