onnode: Future-proof get_nodes_with_status().
authorMartin Schwenke <martin@meltin.net>
Tue, 17 May 2011 04:24:30 +0000 (14:24 +1000)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Wed, 8 Jun 2011 04:22:49 +0000 (14:22 +1000)
commite1788f25fde3d1f26bf4831a331741aa280f6fbc
tree227cfecb5e2dd7b3663ab56363fe9171672bd1f8
parentca80adda7517b43147ef30156ae34c66b29fa2bd
onnode: Future-proof get_nodes_with_status().

The current code requires knowledge of the number of status bits
output by "ctdb status -Y".

This changes the code to be completely general.

Signed-off-by: Martin Schwenke <martin@meltin.net>
tools/onnode