diff --git a/cloudfoundry-operations/src/main/java/org/cloudfoundry/operations/applications/DefaultApplications.java b/cloudfoundry-operations/src/main/java/org/cloudfoundry/operations/applications/DefaultApplications.java index 03ddf9527c..fda9166b4a 100644 --- a/cloudfoundry-operations/src/main/java/org/cloudfoundry/operations/applications/DefaultApplications.java +++ b/cloudfoundry-operations/src/main/java/org/cloudfoundry/operations/applications/DefaultApplications.java @@ -185,6 +185,8 @@ public final class DefaultApplications implements Applications { private static final int CF_STAGING_ERROR = 170001; + private static final int CF_INSUFFICIENT_RESOURCES = 170008; + private static final int CF_STAGING_NOT_FINISHED = 170002; private static final int CF_STAGING_TIME_EXPIRED = 170007; @@ -1471,7 +1473,8 @@ private static Mono getApplicationInstances( CF_INSTANCES_ERROR, CF_STAGING_NOT_FINISHED, CF_STAGING_TIME_EXPIRED, - CF_STAGING_ERROR), + CF_STAGING_ERROR, + CF_INSUFFICIENT_RESOURCES), t -> Mono.just(ApplicationInstancesResponse.builder().build())); }