]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: fix wrong arg to "instructed to" status message
authorDan Mick <dan.mick@inktank.com>
Thu, 19 Sep 2013 23:04:16 +0000 (16:04 -0700)
committerDan Mick <dan.mick@inktank.com>
Fri, 20 Sep 2013 22:27:28 +0000 (15:27 -0700)
Fixes: #6293
Signed-off-by: Dan Mick <dan.mick@inktank.com>
(cherry picked from commit 16ebb25f7cdb8e92c618a333c505c16edb16c95c)

src/mon/OSDMonitor.cc

index 85dcf576271bc9bec92e8b9c515e36cd4e6d5098..1bbf628fe7ec378c04780ba62f39baad10d7bead 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) {