]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: fix wrong arg to "instructed to" status message 609/head
authorDan Mick <dan.mick@inktank.com>
Thu, 19 Sep 2013 23:04:16 +0000 (16:04 -0700)
committerDan Mick <dan.mick@inktank.com>
Thu, 19 Sep 2013 23:05:01 +0000 (16:05 -0700)
Fixes: #6293
Signed-off-by: Dan Mick <dan.mick@inktank.com>
src/mon/OSDMonitor.cc

index 36fe6d345f2adab0f1e1b2c9eb3d67d97ffe1293..9643b33e34b7044aab708fc1b755bb8e7ab7b14c 100644 (file)
@@ -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) {