spotify/helios — pull request #147 by davidxia (2014-08-22 16:53:15+00:00)
Title: Respect JSON CLI switch on failed job creations

When we run `helios create --json ...`, we returned this:

Failed: JobDeployResponse{status=JOB_ALREADY_EXISTS}

Let's return this:

{"errors":[],"id":"foo-service:0.0.8:6a0","status":"JOB_ALREADY_EXISTS"}

So that users can parse the response.