httpserver: http_post_datacenters: minor typo in the comment about function goal 48/1348/2 snapcraft
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Wed, 22 Mar 2017 17:57:47 +0000 (18:57 +0100)
committertierno <alfonso.tiernosepulveda@telefonica.com>
Wed, 29 Mar 2017 16:37:49 +0000 (17:37 +0100)
Change-Id: I12dadfa8e91796e2a59a6aa1b1e0244079f2f555
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
httpserver.py

index f412aa1..4841a98 100644 (file)
@@ -508,7 +508,7 @@ def http_get_datacenter_id(tenant_id, datacenter_id):
 
 @bottle.route(url_base + '/datacenters', method='POST')
 def http_post_datacenters():
-    '''insert a tenant into the catalogue. '''
+    '''insert a datacenter into the catalogue. '''
     #parse input data
     logger.debug('FROM %s %s %s', bottle.request.remote_addr, bottle.request.method, bottle.request.url)
     http_content,_ = format_in( datacenter_schema )