morhidi commented on code in PR #239:
URL:
https://github.com/apache/flink-kubernetes-operator/pull/239#discussion_r882885678
##########
flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/observer/deployment/AbstractDeploymentObserver.java:
##########
@@ -199,11 +199,7 @@ protected void observeJmDeployment(
}
private Optional<Deployment> getSecondaryResource(FlinkDeployment
flinkApp, Context context) {
- return context.getSecondaryResource(
- Deployment.class,
-
configManager.getOperatorConfiguration().getWatchedNamespaces().size() > 1
- ? flinkApp.getMetadata().getNamespace()
- : null);
+ return context.getSecondaryResource(Deployment.class);
Review Comment:
No, I removed it most of the places.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]