diff options
author | Dan Mick <dan.mick@inktank.com> | 2013-09-19 16:04:16 -0700 |
---|---|---|
committer | Dan Mick <dan.mick@inktank.com> | 2013-09-20 15:27:28 -0700 |
commit | 5cb7b2985eb0c1f87167b0a7a824225848df3bdd (patch) | |
tree | 7b55cf2d1b6b72bb4bd76a751dc613d30200a1e8 | |
parent | 9e98620e4325d15c88440a890b267131613e1aa1 (diff) | |
download | ceph-5cb7b2985eb0c1f87167b0a7a824225848df3bdd.tar.gz |
mon: fix wrong arg to "instructed to" status message
Fixes: #6293
Signed-off-by: Dan Mick <dan.mick@inktank.com>
(cherry picked from commit 16ebb25f7cdb8e92c618a333c505c16edb16c95c)
-rw-r--r-- | src/mon/OSDMonitor.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mon/OSDMonitor.cc b/src/mon/OSDMonitor.cc index 85dcf576271..1bbf628fe7e 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) { |