Merge "Fix docstring typo"
This commit is contained in:
commit
bedf1cda1f
@ -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:
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user