summaryrefslogtreecommitdiff
path: root/ironic
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-03-18 04:00:44 +0000
committerGerrit Code Review <review@openstack.org>2016-03-18 04:00:44 +0000
commitec21f7c90d196daeee5e849a19f2f8d949b6f5b2 (patch)
tree2cda8af78fdb5f0c33569462fa28bd0955cb6d16 /ironic
parentcb1a83f740c1c7a45985a8825d0366b5548dd58d (diff)
parentf03c09d3cf72a685052b1606b7281418f9a09feb (diff)
downloadironic-ec21f7c90d196daeee5e849a19f2f8d949b6f5b2.tar.gz
Merge "Remove unneeded 'wait=False' to be more clean and consistent"
Diffstat (limited to 'ironic')
-rw-r--r--ironic/drivers/modules/agent_client.py3
-rw-r--r--ironic/tests/unit/drivers/modules/test_agent_client.py2
2 files changed, 2 insertions, 3 deletions
diff --git a/ironic/drivers/modules/agent_client.py b/ironic/drivers/modules/agent_client.py
index d3bedeb1d..46ca56369 100644
--- a/ironic/drivers/modules/agent_client.py
+++ b/ironic/drivers/modules/agent_client.py
@@ -161,8 +161,7 @@ class AgentClient(object):
}
return self._command(node=node,
method='clean.execute_clean_step',
- params=params,
- wait=False)
+ params=params)
def power_off(self, node):
"""Soft powers off the bare metal node by shutting down ramdisk OS."""
diff --git a/ironic/tests/unit/drivers/modules/test_agent_client.py b/ironic/tests/unit/drivers/modules/test_agent_client.py
index 39e45db0b..420040859 100644
--- a/ironic/tests/unit/drivers/modules/test_agent_client.py
+++ b/ironic/tests/unit/drivers/modules/test_agent_client.py
@@ -212,7 +212,7 @@ class TestAgentClient(base.TestCase):
ports)
self.client._command.assert_called_once_with(
node=self.node, method='clean.execute_clean_step',
- params=expected_params, wait=False)
+ params=expected_params)
def test_power_off(self):
self.client._command = mock.MagicMock(spec_set=[])