Dennis-Mircea commented on code in PR #1121:
URL:
https://github.com/apache/flink-kubernetes-operator/pull/1121#discussion_r3315909179
##########
flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/controller/FlinkBlueGreenDeployments.java:
##########
@@ -51,7 +51,7 @@ static FlinkBlueGreenDeployments fromSecondaryResources(
context.getSecondaryResources(FlinkDeployment.class);
if (secondaryResources.isEmpty() || secondaryResources.size() > 2) {
- FlinkBlueGreenDeploymentController.logAndThrow(
+ throw new RuntimeException(
Review Comment:
There was not a deep reason. The previous `logAndThrow(String)` helper just
did `throw new RuntimeException(message)`, so inlining it kept the exact same
exception type.
--
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]