From 3b7e95c21116904bb241cc60fecd3d87b862bb68 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 a0bf14df08..5d983d1f7c 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 @@ -242,7 +242,7 @@ private static Map toProcessYaml(ManifestV3Process process) { putIfPresent(yaml, "disk_quota", process.getDisk()); 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());