aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTor Brede Vekterli <vekterli@yahooinc.com>2021-12-03 16:50:39 +0000
committerTor Brede Vekterli <vekterli@yahooinc.com>2021-12-03 16:50:39 +0000
commita9ddf0f3a6fdc6896057e245410d29cd8ce6a74b (patch)
tree1baf735e8988a2ff7179982be54557db9c06ad07
parentd40ad68987516db67166e57f2e75bb5dbc91208f (diff)
Fix active merge state count status page rendering
-rw-r--r--storage/src/vespa/storage/persistence/filestorage/filestorhandlerimpl.cpp4
1 files 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 << "<tr><td>Active merge operations</td><td>" << _mergeStates.size() << "</td></tr>\n";
+ out << "<p>Active merge operations: " << _mergeStates.size() << "</p>\n";
if (verbose) {
out << "<h4>Active merges</h4>\n";
- if (_mergeStates.size() == 0) {
+ if (_mergeStates.empty()) {
out << "None\n";
}
for (auto & entry : _mergeStates) {