summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Zafman <david.zafman@inktank.com>2013-09-19 18:06:27 -0700
committerDavid Zafman <david.zafman@inktank.com>2013-09-19 18:06:27 -0700
commit91dcdec18e5de9d727ec4b4c61a7a547769ad40d (patch)
tree840a4d76d777ab06f223ac1309303d643c7463f8
parent5216ed134b99e7dfd9e936c632b3ad2d01acd481 (diff)
parent16ebb25f7cdb8e92c618a333c505c16edb16c95c (diff)
downloadceph-91dcdec18e5de9d727ec4b4c61a7a547769ad40d.tar.gz
Merge pull request #609 from dmick/wip-6293
mon: fix wrong arg to "instructed to" status message Reviewed-by: David Zafman <david.zafman@inktank.com>
-rw-r--r--src/mon/OSDMonitor.cc2
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) {