Skip to content
Permalink
Browse files

Fix undefined variable uses in the node module

Due to the nodename kwarg deprecation in daemon_node_action.
  • Loading branch information...
cvaroqui committed Jun 28, 2019
1 parent dbc74c6 commit e0c61d943ae7a1ce0cdea8cf1f3fa5178b551fda
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/node.py
@@ -4579,7 +4579,7 @@ def daemon_node_action(self, action=None, options=None, server=None, node=None,
else:
raise ex.excError("the --node <selector> option is required")
if action_mode:
self.log.info("request node action '%s' on node %s", action, nodename)
self.log.info("request node action '%s' on node %s", action, node)
req = {
"action": "node_action",
"options": {
@@ -4598,7 +4598,7 @@ def daemon_node_action(self, action=None, options=None, server=None, node=None,
)
except Exception as exc:
self.log.error("node action on node %s failed: %s",
nodename, exc)
node, exc)
return 1

status, error, info = self.parse_result(data)

0 comments on commit e0c61d9

Please sign in to comment.
You can’t perform that action at this time.