summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVallari Agrawal <50358181+VallariAg@users.noreply.github.com>2025-01-16 10:57:46 +0100
committerGitHub <noreply@github.com>2025-01-16 10:57:46 +0100
commit0523e8ebd1dd464fed956f6560a8e56f113f59e3 (patch)
treea7b53517b7f82f1d97c59cb2a6c18de234e7ad96
parentMerge pull request #60889 from anoopcs9/fix-invalid-access-mds (diff)
parentmon: do not show nvmeof in 'ceph versions' output (diff)
downloadceph-0523e8ebd1dd464fed956f6560a8e56f113f59e3.tar.xz
ceph-0523e8ebd1dd464fed956f6560a8e56f113f59e3.zip
Merge pull request #61349 from VallariAg/wip-vallari-nvmeof-ceph-version
mon: do not show nvmeof in 'ceph versions' output
-rw-r--r--src/mon/Monitor.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mon/Monitor.cc b/src/mon/Monitor.cc
index 7332ec3edb1..833bdddc71b 100644
--- a/src/mon/Monitor.cc
+++ b/src/mon/Monitor.cc
@@ -4024,7 +4024,7 @@ void Monitor::handle_command(MonOpRequestRef op)
for (auto& p : mgrstatmon()->get_service_map().services) {
auto &service = p.first;
- if (ServiceMap::is_normal_ceph_entity(service)) {
+ if (ServiceMap::is_normal_ceph_entity(service) || service == "nvmeof") {
continue;
}
f->open_object_section(service.c_str());