Fix missing RolloutCancelled event in notification drawer#2412
Conversation
|
/kind bug |
app/scripts/constants.js
Outdated
| BuildConfigInstantiateFailed: true, | ||
| // Deployment | ||
| DeploymentCancelled: true, | ||
| RolloutCancelled: true, |
There was a problem hiding this comment.
nit: better to keep it alphabetical by type so it's easier to find things
There was a problem hiding this comment.
If this is for deployment configs, better to move it under that section
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.
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.
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.
Might have changed from 3.6 -> 3.7
|
/hold |
|
I don't think |
b24330c to
90ff922
Compare
|
Updated. |
spadgett
left a comment
There was a problem hiding this comment.
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: