summaryrefslogtreecommitdiff
path: root/ironic/drivers/modules/fake.py
diff options
context:
space:
mode:
authorLucas Alvares Gomes <lucasagomes@gmail.com>2014-04-29 17:47:30 +0100
committerLucas Alvares Gomes <lucasagomes@gmail.com>2014-06-10 17:53:58 +0100
commit4da3ec8b8ae75e8ffc7582c4b0c37c1f9c14dd75 (patch)
treee8dba47d6b1441f259e60b6072f818921a8e29ec /ironic/drivers/modules/fake.py
parent2b2022c331d78b5ca1df6d06a58d2229af3036b7 (diff)
downloadironic-4da3ec8b8ae75e8ffc7582c4b0c37c1f9c14dd75.tar.gz
Remove 'node' parameter from the Console and Rescue interfaces
The node parameter is redundant since the node object is an attribute of the task object. Partial-Bug: #1312632 Change-Id: Ic7bf898b7d881e36188511d75837e450f29f066c
Diffstat (limited to 'ironic/drivers/modules/fake.py')
-rw-r--r--ironic/drivers/modules/fake.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ironic/drivers/modules/fake.py b/ironic/drivers/modules/fake.py
index 6bd701739..223eeeb88 100644
--- a/ironic/drivers/modules/fake.py
+++ b/ironic/drivers/modules/fake.py
@@ -136,13 +136,13 @@ class FakeConsole(base.ConsoleInterface):
def validate(self, task, node):
return True
- def start_console(self, task, node):
+ def start_console(self, task):
pass
- def stop_console(self, task, node):
+ def stop_console(self, task):
pass
- def get_console(self, task, node):
+ def get_console(self, task):
return {}