You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2018/07/25 14:27:43 UTC
[GitHub] dawidwys commented on a change in pull request #6416:
[FLINK-9942][rest] Guard handlers against null fields
dawidwys commented on a change in pull request #6416: [FLINK-9942][rest] Guard handlers against null fields
URL: https://github.com/apache/flink/pull/6416#discussion_r205130729
##########
File path: flink-runtime/src/main/java/org/apache/flink/runtime/rest/messages/job/JobSubmitRequestBody.java
##########
@@ -34,7 +35,7 @@
*/
public final class JobSubmitRequestBody implements RequestBody {
- private static final String FIELD_NAME_JOB_GRAPH = "jobGraphFileName";
+ public static final String FIELD_NAME_JOB_GRAPH = "jobGraphFileName";
Review comment:
Wouldn't it be enough to set `required` for `JsonProperty` for that field?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services