Merge "Fix the error in the podscontroller."
[releng.git] / utils / test / testapi / 3rd_party / static / testapi-ui / components / pods / podsController.js
index 8015bec..489fa8a 100644 (file)
@@ -20,7 +20,7 @@
         .controller('PodsController', PodsController);
 
     PodsController.$inject = [
-        '$rootScope', '$scope', '$http', '$filter', '$state', 'testapiApiUrl','raiseAlert'
+        '$scope', '$http', '$filter', '$state', 'testapiApiUrl','raiseAlert'
     ];
 
     /**
@@ -98,7 +98,7 @@
             }
             else{
                 ctrl.showError = true;
-                        ctrl.error = 'Name is missing.'
+                ctrl.error = 'Name is missing.'
             }
         }