You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using BatchV1Api.deleteNamespacedJob method. This method returns V1Status object, the K8s OpenApi specifications says the same - the DELETE method of the /apis/batch/v1/namespaces/{namespace}/jobs/{name} API route returns io.k8s.apimachinery.pkg.apis.meta.v1.Status (K8s OpenAPI swagger)
When the deleteNamespacedJob method receives a response from the k8s API it, unexpectedly, receives a V1Job object:
and then it tries to deserialize the V1Job to the V1Status and fails with the 'com.google.gson.JsonSyntaxException' exception.
I'm using
BatchV1Api.deleteNamespacedJob
method. This method returnsV1Status
object, the K8s OpenApi specifications says the same - the DELETE method of the/apis/batch/v1/namespaces/{namespace}/jobs/{name}
API route returnsio.k8s.apimachinery.pkg.apis.meta.v1.Status
(K8s OpenAPI swagger)When the
deleteNamespacedJob
method receives a response from the k8s API it, unexpectedly, receives aV1Job
object:and then it tries to deserialize the
V1Job
to theV1Status
and fails with the 'com.google.gson.JsonSyntaxException' exception.java/kubernetes/src/main/java/io/kubernetes/client/openapi/ApiClient.java
Line 759 in 6267ff3
The text was updated successfully, but these errors were encountered: