diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2023-08-09 11:53:27 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2023-08-09 11:53:27 +0000 |
commit | 039deb6b169b76904ce13dd0d33ae588d27ccbee (patch) | |
tree | a564a3d7f5d671be6859a0558200e322a3454cef | |
parent | 56d3b5290ba54231d46d08522db7ea55ab51fe49 (diff) |
All are up if NONE are printed....
-rw-r--r-- | vdslib/src/vespa/vdslib/state/clusterstate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vdslib/src/vespa/vdslib/state/clusterstate.cpp b/vdslib/src/vespa/vdslib/state/clusterstate.cpp index e0fb16a5a4b..b72e0277b94 100644 --- a/vdslib/src/vespa/vdslib/state/clusterstate.cpp +++ b/vdslib/src/vespa/vdslib/state/clusterstate.cpp @@ -470,7 +470,7 @@ ClusterState::printStateGroupwise(std::ostream& out, const Group& group, bool ve << getNumberSpec(group.getNodes()) << "] {"; size_t printed = printStateGroupwise(out, group, verbose, indent, NodeType::DISTRIBUTOR) + printStateGroupwise(out, group, verbose, indent, NodeType::STORAGE); - if (printed > 0 ) { + if (printed == 0) { out << "\n" << indent << " All nodes in group up and available."; } } else { |