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-19 16:05:01 -0700 |
commit | 16ebb25f7cdb8e92c618a333c505c16edb16c95c (patch) | |
tree | 840a4d76d777ab06f223ac1309303d643c7463f8 | |
parent | 5216ed134b99e7dfd9e936c632b3ad2d01acd481 (diff) | |
download | ceph-16ebb25f7cdb8e92c618a333c505c16edb16c95c.tar.gz |
mon: fix wrong arg to "instructed to" status message
Fixes: #6293
Signed-off-by: Dan Mick <dan.mick@inktank.com>
-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 36fe6d345f2..9643b33e34b 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) { |