[
https://issues.apache.org/jira/browse/FLINK-29283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated FLINK-29283:
-----------------------------------
Labels: pull-request-available (was: )
> Remove hardcoded apiVersion from operator unit test
> ---------------------------------------------------
>
> Key: FLINK-29283
> URL: https://issues.apache.org/jira/browse/FLINK-29283
> Project: Flink
> Issue Type: Improvement
> Components: Kubernetes Operator
> Affects Versions: kubernetes-operator-1.1.0
> Reporter: Tony Garrard
> Priority: Minor
> Labels: pull-request-available
> Fix For: kubernetes-operator-1.2.0
>
>
> The unit test
> flink-kubernetes-operator/src/test/java/org/apache/flink/kubernetes/operator/utils/ReconciliationUtilsTest.java
> has a hardcoded apiVersion. To facilitate modifications, it should be using
> the constants provided in the class CrdConstants i.e.
> assertEquals(API_GROUP + "/" + API_VERSION,
> internalMeta.get("apiVersion").asText());
> instead of "flink.apache.org/v1beta1"
--
This message was sent by Atlassian Jira
(v8.20.10#820010)