monitoring: Support format query parameters for process/info

This commit is contained in:
Eric Lippmann 2015-01-16 13:12:10 +01:00
parent 37880c6c89
commit 35e090c17e
1 changed files with 3 additions and 2 deletions

View File

@ -64,8 +64,9 @@ class Monitoring_ProcessController extends Controller
'process_performance_data'
)
)
->getQuery()
->fetchRow();
->getQuery();
$this->handleFormatRequest($programStatus);
$programStatus = $programStatus->fetchRow();
if ($programStatus === false) {
return $this->render('not-running', true, null);
}