From c618cf937bd2731e3af4b77cac22b0afaecfdc54 Mon Sep 17 00:00:00 2001 From: Dan Mick Date: Wed, 12 Jun 2013 20:59:08 -0700 Subject: [PATCH] OSDMonitor: osd id when id already exists needs to come to stdout too Found by qa/workunits/mon/osd.sh Signed-off-by: Dan Mick Reviewed-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 d6c017f0d9c38..214b0e7a92645 100644 --- a/src/mon/OSDMonitor.cc +++ b/src/mon/OSDMonitor.cc @@ -3079,7 +3079,7 @@ bool OSDMonitor::prepare_command(MMonCommand *m) // osd already exists err = 0; ss << i; - getline(ss, rs); + rdata.append(ss); goto reply; } i = pending_inc.identify_osd(uuid); -- 2.39.5