From: Laurence Maultsby Date: Thu, 12 Jan 2017 13:51:33 +0000 (-0500) Subject: Error message fix on fileManager.job api X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=75a161743ecd8dd234e458fa24e10f0e301be926;p=osm%2FUI.git Error message fix on fileManager.job api Signed-off-by: Laurence Maultsby --- diff --git a/skyquake/plugins/composer/api/composer.js b/skyquake/plugins/composer/api/composer.js index ce128609c..b0684bf21 100644 --- a/skyquake/plugins/composer/api/composer.js +++ b/skyquake/plugins/composer/api/composer.js @@ -341,7 +341,7 @@ Composer.upload = function(req) { // Add a status checker on the transaction and then to delete the file later PackageFileHandler.checkCreatePackageStatusAndHandleFile(req, data['transaction_id']); - + // Return status to composer UI to update the status. resolve({ statusCode: constants.HTTP_RESPONSE_CODES.SUCCESS.OK, @@ -574,7 +574,7 @@ FileManager.job = function(req) { forever: constants.FOREVER_ON, rejectUnauthorized: false, }, function(error, response, body) { - if (utils.validateResponse('restconfAPI.streams', error, response, body, resolve, reject)) { + if (utils.validateResponse('FileManager.job', error, response, body, resolve, reject)) { var data = JSON.parse(response.body)['rw-pkg-mgmt:download-jobs']; var returnData = []; data && data.job.map(function(d) {