diff options
author | Valerij Fredriksen <freva@users.noreply.github.com> | 2021-04-22 15:00:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-22 15:00:27 +0200 |
commit | f23596675247446309709a19dbe5fac77d81e4e0 (patch) | |
tree | 2f6a064f6564c159d2310a1717a642bb20e5f6e5 /controller-server | |
parent | 31dddcaf8c7b86c7b4d11999b8794622021558ce (diff) |
Warn on out of capacity in manually deployed zones
Co-authored-by: Jon Marius Venstad <jonmv@users.noreply.github.com>
Diffstat (limited to 'controller-server')
-rw-r--r-- | controller-server/src/main/java/com/yahoo/vespa/hosted/controller/deployment/InternalStepRunner.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/deployment/InternalStepRunner.java b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/deployment/InternalStepRunner.java index a0bbcc0249b..2627654c44f 100644 --- a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/deployment/InternalStepRunner.java +++ b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/deployment/InternalStepRunner.java @@ -721,7 +721,7 @@ public class InternalStepRunner implements StepRunner { controller.notificationsDb().removeNotification(source, Notification.Type.DEPLOYMENT_FAILURE); return; case outOfCapacity: - if (run.id().type().isProduction()) updater.accept("due to lack of capacity. Please contact the Vespa team to request more!"); + if ( ! run.id().type().environment().isTest()) updater.accept("due to lack of capacity. Please contact the Vespa team to request more!"); return; case deploymentFailed: updater.accept("due to an invalid application configuration, or timeout of other deployments of the same application"); |