API: Return running as boolean rather than string #366

Open
akavlie opened this Issue Apr 7, 2012 · 2 comments

Comments

Projects
None yet
2 participants

akavlie commented Apr 7, 2012

If you start or stop an app, the REST API returns something like the following:

{
    "status": "success",
    "port": 13579,
    "gitrepo": "<some_repo>",
    "start": "subway",
    "running": "false",
    "pid": "unknown"
}

The "running" key should report a boolean true / false rather than a string.

@alejandro alejandro closed this in 5b41f2c Apr 7, 2012

akavlie commented Apr 7, 2012

You're awesome @alejandromg. Thanks!

Collaborator

alejandro commented Apr 7, 2012

BTW this changes breaks nodester-cli so upgrade please :)

@alejandro alejandro reopened this Apr 11, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment