Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed with JsonSyntaxException during deleteNamespacedPod #230

Closed
Jinchul81 opened this issue Apr 3, 2018 · 1 comment
Closed

Failed with JsonSyntaxException during deleteNamespacedPod #230

Jinchul81 opened this issue Apr 3, 2018 · 1 comment

Comments

@Jinchul81
Copy link

Jinchul81 commented Apr 3, 2018

My system is built based on Kubernetes v1.9, client-java-parent-1.0.0-beta3
Unexpected exception occurred while running deleteNamespacedPod. I think the root cause is inconsistency between actual object and expected object. Let's see the problem. The function's return type is V1Status. V1Status.status is String type, but Kubernetes responds a struct type (i.e. V1PodStatus). It seems V1Status.status can be a template type which can be V1PodStatus, V1beta2StatefulSetStatus and so on.

My initial idea is V1Status should take a template class for the inner status when its instantiation.

@brendandburns
Copy link
Contributor

Duplicate of #86 (and still no good solution...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants