From: Dan Mick Date: Thu, 19 Sep 2013 23:04:16 +0000 (-0700) Subject: mon: fix wrong arg to "instructed to" status message X-Git-Tag: v0.71~112^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=16ebb25f7cdb8e92c618a333c505c16edb16c95c;p=ceph.git mon: fix wrong arg to "instructed to" status message Fixes: #6293 Signed-off-by: Dan Mick --- diff --git a/src/mon/OSDMonitor.cc b/src/mon/OSDMonitor.cc index 36fe6d345f2a..9643b33e34b7 100644 --- a/src/mon/OSDMonitor.cc +++ b/src/mon/OSDMonitor.cc @@ -2154,7 +2154,7 @@ bool OSDMonitor::preprocess_command(MMonCommand *m) osdmap.get_inst(i)); } r = 0; - ss << " instructed to " << whostr; + ss << " instructed to " << pvec.back(); } else { long osd = parse_osd_id(whostr.c_str(), &ss); if (osd < 0) {