juju/charmstore — pull request #263 by frankban (2014-12-15 10:26:16+00:00)
Title: Use the external debugstatus library.

Also refactor the debug/status endpoint to avoid
repeating similar checks.

Update the dependencies accordingly.

Move the status tests to their own status_test.go file,
and implemented the assertStatusCall test helper.

QA:
- start mongo;
- make server;
- visit http://localhost:8080/v4/debug/status and
ensure the stats make sense.