aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/main/webapp/app/vid/scripts/controller/InstantiationController.js
diff options
context:
space:
mode:
authorIttay Stern <ittay.stern@att.com>2019-01-21 08:59:08 +0000
committerGerrit Code Review <gerrit@onap.org>2019-01-21 08:59:08 +0000
commit974fc96fdc47cafb6f7169d197e69cb81e6df4a9 (patch)
treea26a1a78f344ef24b1dd78a46a0370078bf78be6 /vid-app-common/src/main/webapp/app/vid/scripts/controller/InstantiationController.js
parenteb1659273043b496ed93dc369db1c9311ac0ca49 (diff)
parenta09162b81f23cd295d7bd6481398993faa8dfdeb (diff)
Merge "replaced named func with anonymous func"
Diffstat (limited to 'vid-app-common/src/main/webapp/app/vid/scripts/controller/InstantiationController.js')
-rwxr-xr-xvid-app-common/src/main/webapp/app/vid/scripts/controller/InstantiationController.js9
1 files changed, 5 insertions, 4 deletions
diff --git a/vid-app-common/src/main/webapp/app/vid/scripts/controller/InstantiationController.js b/vid-app-common/src/main/webapp/app/vid/scripts/controller/InstantiationController.js
index 06622cfbc..366965c8f 100755
--- a/vid-app-common/src/main/webapp/app/vid/scripts/controller/InstantiationController.js
+++ b/vid-app-common/src/main/webapp/app/vid/scripts/controller/InstantiationController.js
@@ -3,6 +3,7 @@
* VID
* ================================================================================
* Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * Modifications Copyright (C) 2019 IBM.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1368,11 +1369,11 @@ Private metthods
function _setPnf(data) { // data is the $scope.service.instance object
return PnfService.getPnfs(data)
.then(
- function success(response) {
+ function (response) {
return response.data;
// * can add here changes on the data that are needed to the view ( filter, ect..)
},
- function error(error) {
+ function (error) {
console.error(error);
}
);
@@ -1382,11 +1383,11 @@ Private metthods
function _setCr(data) { // data is the $scope.service.instance object
return CrService.getCr(data)
.then(
- function success(response) {
+ function (response) {
return response.data.results;
// * can add here changes on the data that are needed to the view ( filter, ect..)
},
- function error(error) {
+ function (error) {
console.error(error);
}
);