Skip to content

Commit

Permalink
fix: spec and status don't need to be KubernetesResources
Browse files Browse the repository at this point in the history
  • Loading branch information
metacosm authored and manusa committed Dec 18, 2020
1 parent a018014 commit 7918764
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
import com.fasterxml.jackson.databind.JsonDeserializer;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.fabric8.kubernetes.api.model.HasMetadata;
import io.fabric8.kubernetes.api.model.KubernetesResource;
import io.fabric8.kubernetes.api.model.Namespaced;
import io.fabric8.kubernetes.api.model.ObjectMeta;
import io.fabric8.kubernetes.client.utils.Pluralize;
Expand Down Expand Up @@ -67,7 +66,7 @@
"status"
})
@Buildable(builderPackage = "io.fabric8.kubernetes.api.builder", editableEnabled = false)
public abstract class CustomResource<S extends KubernetesResource, T extends KubernetesResource> implements HasMetadata {
public abstract class CustomResource<S, T> implements HasMetadata {
private static final Logger LOG = LoggerFactory.getLogger(CustomResource.class);

public static final String NAMESPACE_SCOPE = "Namespaced";
Expand Down

0 comments on commit 7918764

Please sign in to comment.