Commit 8ca74616 authored by Daniele Venzano's avatar Daniele Venzano

Fix tests

parent 111bdaa5
...@@ -5,5 +5,5 @@ tls_key: /certs/key.pem ...@@ -5,5 +5,5 @@ tls_key: /certs/key.pem
tls_ca: /certs/ca.pem tls_ca: /certs/ca.pem
[gitlab-builder] [gitlab-builder]
docker_address: 192.168.45.4:2375 docker_address: 192.168.47.12:2375
external_address: 192.168.45.4 external_address: 192.168.47.12
...@@ -96,7 +96,7 @@ class ZAppStartWeb(ZoeWebRequestHandler): ...@@ -96,7 +96,7 @@ class ZAppStartWeb(ZoeWebRequestHandler):
exec_name = self.get_argument('exec_name') exec_name = self.get_argument('exec_name')
if self.current_user.role.can_customize_resources: if self.current_user.role.can_customize_resources:
app_descr = self._set_parameters(zapp.zoe_description, zapp.parameters, self.current_user.role) app_descr = self._set_parameters(zapp.zoe_description, zapp.parameters)
else: else:
app_descr = zapp.zoe_description app_descr = zapp.zoe_description
...@@ -123,7 +123,7 @@ class ZAppStartWeb(ZoeWebRequestHandler): ...@@ -123,7 +123,7 @@ class ZAppStartWeb(ZoeWebRequestHandler):
self.redirect(self.reverse_url('execution_inspect', new_id)) self.redirect(self.reverse_url('execution_inspect', new_id))
def _set_parameters(self, app_descr, params, role): def _set_parameters(self, app_descr, params):
for param in params: for param in params:
argument_name = param.name + '-' + param.kind argument_name = param.name + '-' + param.kind
if param.kind == 'environment': if param.kind == 'environment':
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment