ctdb-takeover: Short circuit if fetching IPs from no nodes
commitf7f23dca09418da82d076bd25fb1fa4c328ba76d
authorMartin Schwenke <martin@meltin.net>
Fri, 27 Jan 2017 03:43:34 +0000 (27 14:43 +1100)
committerMartin Schwenke <martins@samba.org>
Fri, 24 Feb 2017 06:47:11 +0000 (24 07:47 +0100)
treeba5f0f66f89a919c462969bb497e725db43db261
parent42bcfa6a51cd829304742fd3aa70d8958c5b10fe
ctdb-takeover: Short circuit if fetching IPs from no nodes

The current code will fetch IP from all connected and all active
nodes, so this can't happen.  However, catch it anyway in case the
calling code changes.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/server/ctdb_takeover_helper.c