rename getService to getServiceStatus

This commit is contained in:
Girish Ramakrishnan
2021-01-21 12:40:41 -08:00
parent d294dea84d
commit 47a598a494
2 changed files with 3 additions and 3 deletions

View File

@@ -26,7 +26,7 @@ function getAll(req, res, next) {
function get(req, res, next) {
assert.strictEqual(typeof req.params.service, 'string');
services.getService(req.params.service, function (error, result) {
services.getServiceStatus(req.params.service, function (error, result) {
if (error) return next(BoxError.toHttpError(error));
next(new HttpSuccess(200, { service: result }));