Fixed length of names
This commit is contained in:
parent
879fc70e1a
commit
5f54734520
@ -33,7 +33,7 @@ class Controller(object):
|
|||||||
for unit in webServer['units']:
|
for unit in webServer['units']:
|
||||||
unit_count += 1
|
unit_count += 1
|
||||||
unit['id'] = uuidutils.generate_uuid()
|
unit['id'] = uuidutils.generate_uuid()
|
||||||
unit['name'] = 'webserver{0}'.format(unit_count)
|
unit['name'] = 'iis{0}'.format(unit_count)
|
||||||
|
|
||||||
draft = prepare_draft(draft)
|
draft = prepare_draft(draft)
|
||||||
draft['services']['webServers'].append(webServer)
|
draft['services']['webServers'].append(webServer)
|
||||||
|
Loading…
Reference in New Issue
Block a user