summaryrefslogtreecommitdiffstats
path: root/testapi
diff options
context:
space:
mode:
authorthuva4 <tharma.thuva@gmail.com>2017-09-08 12:04:22 +0530
committerthuva4 <tharma.thuva@gmail.com>2017-09-11 19:08:22 +0530
commitba0e771f7ec2880aa722583189efd22050163d51 (patch)
treeff9e92db95088b5bcb3cc00db4df314bacfcb5ca /testapi
parentb3580028292d2927564020e8143bc1f659ef0ab3 (diff)
Fix the error in the podscontroller.
remove the unnecessary "$rootscope" in the controller's parameters. Change-Id: Ia048af9e146e871003307af27faca24a5ee225ca Signed-off-by: thuva4 <tharma.thuva@gmail.com>
Diffstat (limited to 'testapi')
-rw-r--r--testapi/3rd_party/static/testapi-ui/components/pods/podsController.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/testapi/3rd_party/static/testapi-ui/components/pods/podsController.js b/testapi/3rd_party/static/testapi-ui/components/pods/podsController.js
index 894fcc1..a64c1f4 100644
--- a/testapi/3rd_party/static/testapi-ui/components/pods/podsController.js
+++ b/testapi/3rd_party/static/testapi-ui/components/pods/podsController.js
@@ -20,7 +20,7 @@
.controller('PodsController', PodsController);
PodsController.$inject = [
- '$rootScope', '$scope', '$http', '$filter', '$state', 'testapiApiUrl','raiseAlert'
+ '$scope', '$http', '$filter', '$state', 'testapiApiUrl','raiseAlert'
];
/**
@@ -97,7 +97,7 @@
}
else{
ctrl.showError = true;
- ctrl.error = 'Name is missing.'
+ ctrl.error = 'Name is missing.'
}
}