Merge "Fix docstring typo"

This commit is contained in:
Jenkins 2013-09-05 14:55:23 +00:00 committed by Gerrit Code Review
commit bedf1cda1f
2 changed files with 2 additions and 2 deletions

View File

@ -292,7 +292,7 @@ class NodesController(rest.RestController):
@wsme_pecan.wsexpose(Node, body=Node)
def post(self, node):
"""Ceate a new node."""
"""Create a new node."""
try:
new_node = pecan.request.dbapi.create_node(node.as_dict())
except Exception as e:

View File

@ -115,7 +115,7 @@ class PortsController(rest.RestController):
@wsme_pecan.wsexpose(Port, body=Port)
def post(self, port):
"""Ceate a new port."""
"""Create a new port."""
try:
new_port = pecan.request.dbapi.create_port(port.as_dict())
except exception.IronicException as e: