gyfora commented on a change in pull request #23:
URL:
https://github.com/apache/flink-kubernetes-operator/pull/23#discussion_r814563646
##########
File path:
flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/observer/JobStatusObserver.java
##########
@@ -95,7 +95,7 @@ private JobStatus mergeJobStatus(
if (newStatus == null) {
newStatus = createJobStatus(newJob);
} else {
- newStatus.setState(newJob.getJobState().name());
+ newStatus.setState(JobState.valueOf(newJob.getJobState().name()));
Review comment:
Yea I agree we need to first figure out how exactly we want to handle
the state transitions and react to different job states. I am sorry to have
wasted your time with this ticket, I should have thought more about it before
opening it.
--
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]