Fixed length of names

This commit is contained in:
Serg Melikyan 2013-03-11 20:23:24 +04:00
parent 879fc70e1a
commit 5f54734520

View File

@ -33,7 +33,7 @@ class Controller(object):
for unit in webServer['units']:
unit_count += 1
unit['id'] = uuidutils.generate_uuid()
unit['name'] = 'webserver{0}'.format(unit_count)
unit['name'] = 'iis{0}'.format(unit_count)
draft = prepare_draft(draft)
draft['services']['webServers'].append(webServer)