kubernetes-client / kubernetes-client/java

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

Abierto
#3,215 16 comentarios 1 reacción 1 asignado Asignado a @Copilot Ver en GitHub
Lenguaje dominante
Java
Estrellas
4k
Forks
2.1k
Merge medio
2 d 9 h
PR fusionados (30 d)
16

Descripción

**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.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.