From 5f54734520722ba807bc8e536da16a0d2ba63b5f Mon Sep 17 00:00:00 2001 From: Serg Melikyan Date: Mon, 11 Mar 2013 20:23:24 +0400 Subject: [PATCH] Fixed length of names --- portas/portas/api/v1/webservers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/portas/portas/api/v1/webservers.py b/portas/portas/api/v1/webservers.py index 296f7fd..a5c3c5e 100644 --- a/portas/portas/api/v1/webservers.py +++ b/portas/portas/api/v1/webservers.py @@ -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)