[
https://issues.apache.org/jira/browse/AURORA-666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14120222#comment-14120222
]
Mark Chu-Carroll commented on AURORA-666:
-----------------------------------------
This isn't a bug, this is intended behavior.
The JSON version of the output is geared towards machine processing. They can
use the constant declarations from api.thrift.
> Aurora job status --write-json does not convert status values
> -------------------------------------------------------------
>
> Key: AURORA-666
> URL: https://issues.apache.org/jira/browse/AURORA-666
> Project: Aurora
> Issue Type: Bug
> Components: Client
> Reporter: Maxim Khutornenko
> Assignee: Mark Chu-Carroll
>
> When using --write-json with {{aurora job status}} the status fields are not
> converted to literals:
> {noformat}
> "inactive": [
> {
> "status": 3,
> "assignedTask": {
> "task": {
> "isService": 0,
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)