ctdb-tools: Reimplement read_nodes_file() using ctdb_get_nodes_file()
authorMartin Schwenke <martin@meltin.net>
Mon, 23 Feb 2015 11:05:36 +0000 (22:05 +1100)
committerAmitay Isaacs <amitay@samba.org>
Mon, 23 Mar 2015 11:23:12 +0000 (12:23 +0100)
commitc5538a464f82a0a41b2db42ddf3dc0f7496a1676
tree17d2d18ce172da9d31574bbd0fcd60984199ac9a
parent5148228f414ea1cc2ad71dfbb4d5f82353ae5b56
ctdb-tools: Reimplement read_nodes_file() using ctdb_get_nodes_file()

Update the implementation of "ctdb xpnn" and "ctdb listnodes"
accordingly.  Update associated tests too.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/tests/tool/stubby.listnodes.001.sh
ctdb/tests/tool/stubby.xpnn.003.sh
ctdb/tools/ctdb.c