cf-java-client
cf-java-client copied to clipboard
ManifestV3 toYaml labels and annotations not correctly mapped
trafficstars
Hello, When i try to set labels and annotations in the manifestV3 the generated yaml is incorrect:
"env" -> {Collections$UnmodifiableMap@13701} size = 5
"health-check-http-endpoint" -> "/actuator/health"
"health-check-type" -> "http"
"labels" -> {Collections$UnmodifiableMap@13707} size = 9
"name" -> "MYAPP"
"path" -> "/tmp/14212678060123353942.jar"
"routes" -> {ArrayList@13713} size = 2
"services" -> {ArrayList@13715} size = 3
But the labels and annotations have to be wrapped into a metadata field. So cloud foundry doesn't update the labels and annotations