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
and it does a Cast to CustomResource... shouldn't be safer to use Class<? extends CustomResource> instead of HasMetadata? (like v1CRDFromCustomResourceType and v1beta1CRDFromCustomResourceType)
The try doesn't even catch ClassCastException so this could be potentially a problem.
The text was updated successfully, but these errors were encountered:
Right now
CustomResourceDefinitionContext
has the following method:kubernetes-client/kubernetes-client/src/main/java/io/fabric8/kubernetes/client/dsl/base/CustomResourceDefinitionContext.java
Lines 110 to 112 in 367233a
and it does a Cast to
CustomResource
... shouldn't be safer to useClass<? extends CustomResource>
instead ofHasMetadata
? (likev1CRDFromCustomResourceType
andv1beta1CRDFromCustomResourceType
)The try doesn't even catch ClassCastException so this could be potentially a problem.
The text was updated successfully, but these errors were encountered: