Skip to content

Commit

Permalink
medium: ui_node: Fix "crm node fence" (bsc#974902) (ClusterLabs#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
gao-yan authored and krig committed Apr 27, 2016
1 parent 0fc8ba9 commit c12ce35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/ui_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def do_fence(self, context, node):
if not config.core.force and \
not utils.ask("Do you really want to shoot %s?" % node):
return False
if utils.is_remote_node(node):
if xmlutil.is_remote_node(node):
return utils.ext_cmd("stonith_admin -F '%s'" % (node)) == 0
else:
return utils.ext_cmd(self.node_fence % (node)) == 0
Expand Down

0 comments on commit c12ce35

Please sign in to comment.