-
Notifications
You must be signed in to change notification settings - Fork 367
Open
Description
GET /v3/processes/:guid/stats returns inconsistent values for non-existing instance_ports:
- missing
instance_ports.internalandinstance_ports.externalare reported as0 - missing
instance_ports.internal_tls_proxy_portandinstance_ports.external_tls_proxy_portare reported asnull
capi-release v1.210.0 changed the values for a missing instance_ports.internal and instance_ports.external to null as a side effect of updating protobufs (#4359).
This (unintended) change broke cf-java-client because it checks for non-null instance_ports.internal and instance_ports.external.
#4401 fixes/changes missing instance_ports values back to the in-consistent values described above. Released with capi-release v1.211.0.
This issue is to find a long-term solution that returns consistent values for missing ports.
Proposal is to consolidate on null eventually. Can be done only when cf-java-client allows null values, cf-java-client #1284.
Metadata
Metadata
Assignees
Labels
No labels