java icon indicating copy to clipboard operation
java copied to clipboard

Watch.Response with type ADDED does not provide object's data

Open mnlipp opened this issue 1 year ago • 10 comments
trafficstars

Describe the bug

If the response received from calling GenericKubernetesApi.watch has type "ADDED", the KubernetesObject in object has only metadata. raw is empty (null). (The object's raw data is provided for type "MODIFIED")

Client Version v19

Java Version Java 17

To Reproduce Call the method, add a Kubernetes object, look at the result.

Expected behavior The (raw) data should be provided.

mnlipp avatar Mar 16 '24 13:03 mnlipp