Skip to content

Commit 95b8c19

Browse files
schulzhDavid O'Sullivan
authored andcommitted
fix health check type serialization
1 parent 891f35d commit 95b8c19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ private static Map<String, Object> toProcessYaml(ManifestV3Process process) {
293293
putIfPresent(yaml, "health-check-http-endpoint", process.getHealthCheckHttpEndpoint());
294294
putIfPresent(
295295
yaml, "health-check-invocation-timeout", process.getHealthCheckInvocationTimeout());
296-
putIfPresent(yaml, "health-check-type", process.getHealthCheckType());
296+
putIfPresent(yaml, "health-check-type", process.getHealthCheckType().getValue());
297297
putIfPresent(yaml, "instances", process.getInstances());
298298
putIfPresent(yaml, "memory", process.getMemory());
299299
putIfPresent(yaml, "timeout", process.getTimeout());

0 commit comments

Comments
 (0)