summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimur Nurlygayanov <tnurlygayanov@mirantis.com>2013-04-01 16:02:19 +0400
committerTimur Nurlygayanov <tnurlygayanov@mirantis.com>2013-04-01 16:02:19 +0400
commitd9a83f9a39d98013dfd1f83aee665bc8aa65e176 (patch)
treee69a6f7f10fe3dcccdede027f05f7907403c113b
parent552f2653d20fe03026e7e84a96ca426d15c1bcad (diff)
Fixed https://mirantis.jira.com/browse/KEERO-227.iteration4
-rw-r--r--portas/portas/api/v1/webservers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/portas/portas/api/v1/webservers.py b/portas/portas/api/v1/webservers.py
index ddc73c3..b0e2356 100644
--- a/portas/portas/api/v1/webservers.py
+++ b/portas/portas/api/v1/webservers.py
@@ -36,7 +36,7 @@ class Controller(object):
36 for unit in webServer['units']: 36 for unit in webServer['units']:
37 unit_count += 1 37 unit_count += 1
38 unit['id'] = uuidutils.generate_uuid() 38 unit['id'] = uuidutils.generate_uuid()
39 unit['name'] = 'iis{0}'.format(unit_count) 39 unit['name'] = webServer['name'] + '_instance_' + str(unit_count)
40 40
41 draft = prepare_draft(draft) 41 draft = prepare_draft(draft)
42 draft['services']['webServers'].append(webServer) 42 draft['services']['webServers'].append(webServer)