From 95b8c19740876a44428f4357eafafd1c475c9f61 Mon Sep 17 00:00:00 2001 From: Hans Schulz Date: Thu, 3 Aug 2023 12:51:03 +0200 Subject: [PATCH] fix health check type serialization --- .../operations/applications/ApplicationManifestUtilsV3.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloudfoundry-operations/src/main/java/org/cloudfoundry/operations/applications/ApplicationManifestUtilsV3.java b/cloudfoundry-operations/src/main/java/org/cloudfoundry/operations/applications/ApplicationManifestUtilsV3.java index eb1ee96a55..8f2f4bcadd 100644 --- a/cloudfoundry-operations/src/main/java/org/cloudfoundry/operations/applications/ApplicationManifestUtilsV3.java +++ b/cloudfoundry-operations/src/main/java/org/cloudfoundry/operations/applications/ApplicationManifestUtilsV3.java @@ -293,7 +293,7 @@ private static Map toProcessYaml(ManifestV3Process process) { putIfPresent(yaml, "health-check-http-endpoint", process.getHealthCheckHttpEndpoint()); putIfPresent( yaml, "health-check-invocation-timeout", process.getHealthCheckInvocationTimeout()); - putIfPresent(yaml, "health-check-type", process.getHealthCheckType()); + putIfPresent(yaml, "health-check-type", process.getHealthCheckType().getValue()); putIfPresent(yaml, "instances", process.getInstances()); putIfPresent(yaml, "memory", process.getMemory()); putIfPresent(yaml, "timeout", process.getTimeout());