-
Notifications
You must be signed in to change notification settings - Fork 2k
V1Status not support k8s latest version: 1.18 #969
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
Comments
...
/**
* Status is a return value for calls that don't return other objects.
*/
@ApiModel(description = "Status is a return value for calls that don't return other objects.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2020-04-29T07:27:12.312Z[Etc/UTC]")
public class V1Status {
public static final String SERIALIZED_NAME_STATUS = "status";
@SerializedName(SERIALIZED_NAME_STATUS)
private String status;
... |
// Exp.
CoreV1Api api = new CoreV1Api();
V1Status status = api.deleteNamespace(nsName, ...
|
Although the client fails to get the JSON deserialization result of the call, it does not affect the successful execution of the k8s server. |
it's a duplicated of #86, consider use https://github.com/kubernetes-client/java/blob/master/extended/src/main/java/io/kubernetes/client/extended/generic/GenericKubernetesApi.java us a workaround |
Closing this since it is a duplicate of #86 |
JSON filed
status
is Object, notString
The text was updated successfully, but these errors were encountered: