Skip to content

Commit ee24f06

Browse files
Closed Handle 170008 Insufficient Resources from CC when fetching application instance information
See: #1240
1 parent 1fffc4c commit ee24f06

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

cloudfoundry-operations/src/main/java/org/cloudfoundry/operations/applications/DefaultApplications.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,8 @@ public final class DefaultApplications implements Applications {
185185

186186
private static final int CF_STAGING_ERROR = 170001;
187187

188+
private static final int CF_INSUFFICIENT_RESOURCES = 170008;
189+
188190
private static final int CF_STAGING_NOT_FINISHED = 170002;
189191

190192
private static final int CF_STAGING_TIME_EXPIRED = 170007;
@@ -1471,7 +1473,8 @@ private static Mono<ApplicationInstancesResponse> getApplicationInstances(
14711473
CF_INSTANCES_ERROR,
14721474
CF_STAGING_NOT_FINISHED,
14731475
CF_STAGING_TIME_EXPIRED,
1474-
CF_STAGING_ERROR),
1476+
CF_STAGING_ERROR,
1477+
CF_INSUFFICIENT_RESOURCES),
14751478
t -> Mono.just(ApplicationInstancesResponse.builder().build()));
14761479
}
14771480

0 commit comments

Comments
 (0)