]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
AuthMonitor: auth export's status message to ss, not ds
authorDan Mick <dan.mick@inktank.com>
Tue, 18 Jun 2013 22:44:04 +0000 (15:44 -0700)
committerDan Mick <dan.mick@inktank.com>
Tue, 18 Jun 2013 22:44:32 +0000 (15:44 -0700)
This puts it on stderr, not stdout

Signed-off-by: Dan Mick <dan.mick@inktank.com>
src/mon/AuthMonitor.cc

index e4e0dacd8ba94a2a73af1174ee9a1abe7dc54783..a244f7c5567096f0d3d65ba325429be987cef99d 100644 (file)
@@ -578,7 +578,7 @@ bool AuthMonitor::preprocess_command(MMonCommand *m)
        KeyRing kr;
        kr.add(entity, eauth);
        kr.encode_plaintext(rdata);
-       ds << "export " << eauth;
+       ss << "export " << eauth;
        r = 0;
       } else {
        ss << "no key for " << eauth;