summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimur Nurlygayanov <tnurlygayanov@mirantis.com>2013-04-08 14:50:19 +0400
committerGerrit Code Review <gitolite@gitolite.vm.mirantis.net>2013-04-08 14:50:19 +0400
commitf6e44647346f91b24a40e9b47ed4df30b5763447 (patch)
tree15b0df59c14b0d962df526f193e74985454c2bdd
parent4992c17e1df711a46936f51662342c39ac3923b4 (diff)
parentb191709e0865092bf8799b53f37b05788a5995fb (diff)
Merge "Fixed issue with names."
-rw-r--r--dashboard/glazierdashboard/tabula/views.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/dashboard/glazierdashboard/tabula/views.py b/dashboard/glazierdashboard/tabula/views.py
index 8ebe629..85c2c1c 100644
--- a/dashboard/glazierdashboard/tabula/views.py
+++ b/dashboard/glazierdashboard/tabula/views.py
@@ -151,11 +151,10 @@ class Services(tables.DataTableView):
151 151
152 def get_data(self): 152 def get_data(self):
153 try: 153 try:
154 LOG.critical(self.kwargs)
155 self.environment_id = self.kwargs['environment_id'] 154 self.environment_id = self.kwargs['environment_id']
156 environment = api.environment_get(self.request, self.environment_id) 155 environment = api.environment_get(self.request, self.environment_id)
157 self.environment_name = environment.name 156 self.environment_name = environment.name
158 services = api.services_list(self.request, environment_id) 157 services = api.services_list(self.request, self.environment_id)
159 except: 158 except:
160 services = [] 159 services = []
161 exceptions.handle(self.request, 160 exceptions.handle(self.request,