-
Notifications
You must be signed in to change notification settings - Fork 231
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 missing RolloutCancelled event in notification drawer #2412
Fix missing RolloutCancelled event in notification drawer #2412
Conversation
/kind bug |
app/scripts/constants.js
Outdated
@@ -189,6 +189,7 @@ angular.extend(window.OPENSHIFT_CONSTANTS, { | |||
BuildConfigInstantiateFailed: true, | |||
// Deployment | |||
DeploymentCancelled: true, | |||
RolloutCancelled: true, |
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.
nit: better to keep it alphabetical by type so it's easier to find things
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 this is for deployment configs, better to move it under that section
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.
will do.
app/scripts/constants.js
Outdated
@@ -189,6 +189,7 @@ angular.extend(window.OPENSHIFT_CONSTANTS, { | |||
BuildConfigInstantiateFailed: true, | |||
// Deployment | |||
DeploymentCancelled: true, |
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.
Does this reason exist if RolloutCancelled is for cancelled deployments?
Edit: I'm guessing DeploymentCancelled is for k8s deployments and RolloutCancelled is for deployment configs?
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.
My doc indicates that it did in my first review of all the events, but I don't see a c.recorder.Eventf
with grep -ri 'DeploymentCancellationFailed' pkg
so I'm pretty sure its not real. I'll remove this.
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.
Might have changed from 3.6 -> 3.7
/hold |
I don't think |
b24330c
to
90ff922
Compare
Updated. |
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 @benjaminapetersen for humoring my picky comments
/lgtm |
/hold cancel |
Built /dist does not match what is committed, run 'grunt build' and include the results in your commit.
diff --git a/dist/scripts/scripts.js b/dist/scripts/scripts.js
index 354721d..2ae32d6 100644
--- a/dist/scripts/scripts.js
+++ b/dist/scripts/scripts.js
@@ -723,11 +723,10 @@ BuildCompleted: !0,
BuildFailed: !0,
BuildStarted: !0,
BuildConfigInstantiateFailed: !0,
-DeploymentCancelled: !0,
-RolloutCancelled: !0,
Failed: !0,
DeploymentCreated: !0,
DeploymentCreationFailed: !0,
+RolloutCancelled: !0,
FailedRescale: !0,
SuccessfulRescale: !0,
BackOff: !0, |
/retest |
/test
|
@benjaminapetersen I can look at the commit and see the dist is wrong :) |
90ff922
to
e4beed3
Compare
😐 more ☕ ☕ ☕ |
/lgtm |
Automatic merge from submit-queue. |
Fix bugzilla #1490720 (link)
Adds this event to the notification drawer: