ctdb-scripts: Use "ctdb ip all" instead of "ctdb ip -n all"
authorMartin Schwenke <martin@meltin.net>
Tue, 20 Oct 2015 01:38:38 +0000 (12:38 +1100)
committerAmitay Isaacs <amitay@samba.org>
Fri, 23 Oct 2015 04:44:45 +0000 (06:44 +0200)
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Fri Oct 23 06:44:45 CEST 2015 on sn-devel-104

ctdb/config/statd-callout

index 3b83446e482b3271be3daf351af2a0702163fad3..e2f4c281781b52bfb8e0be2d12145f4e64a76215 100755 (executable)
@@ -159,7 +159,7 @@ case "$1" in
        # Construct a sed expression to take catdb output and produce pairs of:
        #   server-IP client-IP
        # but only for the server-IPs that are hosted on this node.
-       ctdb_all_ips=$(ctdb ip -n all | tail -n +2)
+       ctdb_all_ips=$(ctdb ip all | tail -n +2)
        sed_expr=$(echo "$ctdb_all_ips" |
            awk -v pnn=$pnn 'pnn == $2 { \
                 ip = $1; gsub(/\./, "\\.", ip); \