File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ angular.module("openshiftConsole")
60
60
var resource = APIService . getPreferredVersion ( 'serviceinstancecredentials' ) ;
61
61
getBindingsIfNecessary ( apiObject , bindings ) . then ( function ( serviceBindings ) {
62
62
_ . each ( serviceBindings , function ( binding ) {
63
- if ( ! binding . metadata . deletionTimestamp ) {
63
+ if ( binding . metadata . deletionTimestamp ) {
64
64
return ;
65
65
}
66
66
Original file line number Diff line number Diff line change @@ -4315,7 +4315,7 @@ namespace: t.metadata.namespace
4315
4315
}, u = a.getPreferredVersion("serviceinstancecredentials");
4316
4316
l(t, n).then(function(t) {
4317
4317
_.each(t, function(t) {
4318
- t.metadata.deletionTimestamp && i.delete(u, t.metadata.name, r).then(function() {
4318
+ t.metadata.deletionTimestamp || i.delete(u, t.metadata.name, r).then(function() {
4319
4319
c.addNotification({
4320
4320
type: "success",
4321
4321
message: "Binding " + t.metadata.name + "' was marked for deletion."
You can’t perform that action at this time.
0 commit comments