From c4c511fd44557366af97be7febb17ef675cc6cdc Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 1 Jan 2019 14:10:35 -0600 Subject: [PATCH] mon/OSDMonitor: maintain compat output for 'blacklist ls' Signed-off-by: Sage Weil --- src/mon/OSDMonitor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mon/OSDMonitor.cc b/src/mon/OSDMonitor.cc index c5b22b4e674..40fcee2b566 100644 --- a/src/mon/OSDMonitor.cc +++ b/src/mon/OSDMonitor.cc @@ -4997,7 +4997,7 @@ bool OSDMonitor::preprocess_command(MonOpRequestRef op) ++p) { if (f) { f->open_object_section("entry"); - f->dump_stream("addr") << p->first; + f->dump_string("addr", p->first.get_legacy_str()); f->dump_stream("until") << p->second; f->close_section(); } else { -- 2.39.5