Skip to content

Commit 0523e8e

Browse files
authored
Merge pull request ceph#61349 from VallariAg/wip-vallari-nvmeof-ceph-version
mon: do not show nvmeof in 'ceph versions' output
2 parents b43bf53 + 73c935d commit 0523e8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mon/Monitor.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4024,7 +4024,7 @@ void Monitor::handle_command(MonOpRequestRef op)
40244024

40254025
for (auto& p : mgrstatmon()->get_service_map().services) {
40264026
auto &service = p.first;
4027-
if (ServiceMap::is_normal_ceph_entity(service)) {
4027+
if (ServiceMap::is_normal_ceph_entity(service) || service == "nvmeof") {
40284028
continue;
40294029
}
40304030
f->open_object_section(service.c_str());

0 commit comments

Comments
 (0)