Browse files

Fixed an issue which would cause an error when removing a node.

  • Loading branch information...
1 parent be27d0b commit 011c80e0df68828c6bc0eeaddc2d7eb79bf55435 @feist committed Sep 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 pcs.rb
View
2 pcs.rb
@@ -120,7 +120,7 @@ def send_request_with_token(node,request, post=false, data={}, remote=true)
def add_node(new_nodename)
out, stderror, retval = run_cmd(PCS, "cluster", "localnode", "add", new_nodename)
- return retval, out
+ return retval, out.join("\n")
end
def remove_node(new_nodename)

0 comments on commit 011c80e

Please sign in to comment.