tools/ctdb: delip no longer fails if IP can not be moved
authorMartin Schwenke <martin@meltin.net>
Wed, 27 Feb 2013 05:01:55 +0000 (16:01 +1100)
committerMartin Schwenke <martin@meltin.net>
Wed, 27 Feb 2013 05:01:55 +0000 (16:01 +1100)
commit5402f85dde045576cbaf64e01c68e28ed52204e8
treeeac8a77ec47b96e7c168b4f5f496d40d6a6f4dbd
parent6455ce5e4980a63d56ed30f7059869c8356c12ea
tools/ctdb: delip no longer fails if IP can not be moved

Moving the IP is an optimisation so should not cause failure.

Refactor and simplify the retry-move-IP into new function
try_moveip().

Signed-off-by: Martin Schwenke <martin@meltin.net>
Pair-programmed-with: Amitay Isaacs <amitay@gmail.com>
tools/ctdb.c