From a9ddf0f3a6fdc6896057e245410d29cd8ce6a74b Mon Sep 17 00:00:00 2001 From: Tor Brede Vekterli Date: Fri, 3 Dec 2021 16:50:39 +0000 Subject: Fix active merge state count status page rendering --- .../src/vespa/storage/persistence/filestorage/filestorhandlerimpl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/storage/src/vespa/storage/persistence/filestorage/filestorhandlerimpl.cpp b/storage/src/vespa/storage/persistence/filestorage/filestorhandlerimpl.cpp index 152cda74d9b..c6991803b4d 100644 --- a/storage/src/vespa/storage/persistence/filestorage/filestorhandlerimpl.cpp +++ b/storage/src/vespa/storage/persistence/filestorage/filestorhandlerimpl.cpp @@ -1308,10 +1308,10 @@ FileStorHandlerImpl::getStatus(std::ostream& out, const framework::HttpUrlPath& } std::lock_guard mergeGuard(_mergeStatesLock); - out << "Active merge operations" << _mergeStates.size() << "\n"; + out << "

Active merge operations: " << _mergeStates.size() << "

\n"; if (verbose) { out << "

Active merges

\n"; - if (_mergeStates.size() == 0) { + if (_mergeStates.empty()) { out << "None\n"; } for (auto & entry : _mergeStates) { -- cgit v1.2.3