surekhasaharan commented on a change in pull request #6334: make 0.13 tasks API backwards compatible with 0.12 (#6333) URL: https://github.com/apache/incubator-druid/pull/6334#discussion_r219657909
########## File path: api/src/main/java/org/apache/druid/indexer/TaskStatusPlus.java ########## @@ -44,13 +47,42 @@ @Nullable private final String errorMsg; - @JsonCreator public TaskStatusPlus( @JsonProperty("id") String id, @JsonProperty("type") @Nullable String type, // nullable for backward compatibility @JsonProperty("createdTime") DateTime createdTime, @JsonProperty("queueInsertionTime") DateTime queueInsertionTime, - @JsonProperty("statusCode") @Nullable TaskState state, + @JsonProperty("statusCode") @Nullable TaskState statusCode, Review comment: right, will remove the annotations. ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@druid.apache.org For additional commands, e-mail: commits-h...@druid.apache.org