1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/ctdb/tools
Martin Schwenke 1d10c8e9e6 ctdb-tools: "ctdb nodestatus" should only display header for "all"
The "Number of nodes:" header should only be displayed when "all" is
specified.  This is how the command behaved in Samba <= 4.4.

Printing the number of nodes is not helpful and is rather confusing in
the default case where only the status of the current node is printed.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12802

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
2017-05-26 01:14:17 +02:00
..
ctdb_diagnostics ctdb-scripts: Avoid shellcheck warning SC2006 (legacy ..) 2016-07-21 02:24:27 +02:00
ctdb_event.c ctdb-tools: Avoid deferencing argv[0] if argc == 0 2017-03-29 11:07:18 +02:00
ctdb_killtcp.c ctdb-logging: Drop enum debug_level 2016-12-05 08:09:21 +01:00
ctdb_lvs ctdb-lvs: Allow override of CTDB for testing 2016-05-10 22:51:22 +02:00
ctdb_natgw ctdb-scripts: Avoid shellcheck warning SC2059 ($ in printf format) 2016-07-21 02:24:27 +02:00
ctdb.c ctdb-tools: "ctdb nodestatus" should only display header for "all" 2017-05-26 01:14:17 +02:00
ltdbtool.c ctdb-tools: Simplify using a local variable 2016-10-27 23:53:13 +02:00
onnode ctdb-tools: Simplify "ctdb pnn" output format 2016-07-25 21:29:46 +02:00