diff --git a/app/scripts/services/resourceAlerts.js b/app/scripts/services/resourceAlerts.js index 5d95c8f1bc..6ad04f8351 100644 --- a/app/scripts/services/resourceAlerts.js +++ b/app/scripts/services/resourceAlerts.js @@ -101,6 +101,7 @@ angular.module("openshiftConsole") details: $filter('getErrorDetails')(e) }; }); + return true; } }] }; diff --git a/app/views/browse/deployment-config.html b/app/views/browse/deployment-config.html index 734c4bb715..cb1d0a17d8 100644 --- a/app/views/browse/deployment-config.html +++ b/app/views/browse/deployment-config.html @@ -90,7 +90,7 @@

Loading...
-
+
{{deploymentConfig.metadata.name}} is paused. This will stop any new rollouts or triggers from running until resumed. diff --git a/app/views/browse/deployment.html b/app/views/browse/deployment.html index e74028d4fb..131c0559e4 100644 --- a/app/views/browse/deployment.html +++ b/app/views/browse/deployment.html @@ -1,5 +1,4 @@
-
@@ -71,7 +70,7 @@

Loading...
-
+
{{deployment.metadata.name}} is paused. This pauses any in-progress rollouts and stops new diff --git a/dist/scripts/scripts.js b/dist/scripts/scripts.js index 646410e3cc..523e4f3be0 100644 --- a/dist/scripts/scripts.js +++ b/dist/scripts/scripts.js @@ -4189,7 +4189,7 @@ links: [ { href: "", label: "Resume Rollouts", onClick: function() { -n.setPaused(t, !1, { +return n.setPaused(t, !1, { namespace: t.metadata.namespace }).then(_.noop, function(n) { a[t.metadata.uid + "-pause-error"] = { @@ -4197,7 +4197,7 @@ type: "error", message: "An error occurred resuming the " + s(t.kind) + ".", details: e("getErrorDetails")(n) }; -}); +}), !0; } } ] }), a; diff --git a/dist/scripts/templates.js b/dist/scripts/templates.js index 4e7554f0e8..0310fe42a3 100644 --- a/dist/scripts/templates.js +++ b/dist/scripts/templates.js @@ -2373,7 +2373,7 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function( "
Loading...
\n" + "
\n" + "
\n" + - "
\n" + + "
\n" + "\n" + "{{deploymentConfig.metadata.name}} is paused.\n" + "This will stop any new rollouts or triggers from running until resumed.\n" + @@ -2669,7 +2669,7 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function( "
Loading...
\n" + "
\n" + "
\n" + - "
\n" + + "
\n" + "\n" + "{{deployment.metadata.name}} is paused.\n" + "This pauses any in-progress rollouts and stops new rollouts from running until the deployment is resumed.\n" +