From 2c824a7343269b9534f67cdd0e37e5b156e9926e Mon Sep 17 00:00:00 2001 From: Dao Cong Tien Date: Fri, 25 Mar 2016 15:49:03 +0700 Subject: [PATCH] Fix typos in some source files. Change-Id: I6b1aff7b8976726ebc91360ee5c61cef1fed7aa9 --- ironic/api/controllers/v1/node.py | 2 +- ironic/conductor/task_manager.py | 2 +- ironic/db/api.py | 2 +- ironic/drivers/modules/deploy_utils.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ironic/api/controllers/v1/node.py b/ironic/api/controllers/v1/node.py index 30d52e868b..381eb3ce68 100644 --- a/ironic/api/controllers/v1/node.py +++ b/ironic/api/controllers/v1/node.py @@ -1051,7 +1051,7 @@ class NodesController(rest.RestController): If it does, is necessary to prevent updating it because the new driver will not be able to stop a console started by the previous one. - :param rpc_node: RPC Node object to be veryfied. + :param rpc_node: RPC Node object to be verified. :param node_ident: the UUID or logical name of a node. :raises: wsme.exc.ClientSideError """ diff --git a/ironic/conductor/task_manager.py b/ironic/conductor/task_manager.py index 3aed594ae0..caca8a17b7 100644 --- a/ironic/conductor/task_manager.py +++ b/ironic/conductor/task_manager.py @@ -449,7 +449,7 @@ class TaskManager(object): # also makes it easier to test. fut.add_done_callback(self._thread_release_resources) # Don't unlock! The unlock will occur when the - # thread finshes. + # thread finishes. return except Exception as e: with excutils.save_and_reraise_exception(): diff --git a/ironic/db/api.py b/ironic/db/api.py index ca27153453..f8ab5a6869 100644 --- a/ironic/db/api.py +++ b/ironic/db/api.py @@ -369,7 +369,7 @@ class Connection(object): def create_portgroup(self, values): """Create a new portgroup. - :param values: Dict of values with the the following keys: + :param values: Dict of values with the following keys: 'id' 'uuid' 'name' diff --git a/ironic/drivers/modules/deploy_utils.py b/ironic/drivers/modules/deploy_utils.py index 95e59cbc5f..7baa13cb68 100644 --- a/ironic/drivers/modules/deploy_utils.py +++ b/ironic/drivers/modules/deploy_utils.py @@ -627,7 +627,7 @@ def agent_execute_clean_step(task, step): def agent_add_clean_params(task): - """Add required config parameters to node's driver_interal_info. + """Add required config parameters to node's driver_internal_info. Adds the required conf options to node's driver_internal_info. It is Required to pass the information to IPA.