]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: fix 'get-or-create-key'
authorSage Weil <sage@inktank.com>
Wed, 23 May 2012 01:00:49 +0000 (18:00 -0700)
committerSage Weil <sage@inktank.com>
Wed, 23 May 2012 01:30:57 +0000 (18:30 -0700)
Signed-off-by: Sage Weil <sage@inktank.com>
src/mon/AuthMonitor.cc

index b66194cc48a247e4dd2ffd9fbbffeea027145e34..fe192d0d4a98ecf889e5e59f43138db96b3a3d87 100644 (file)
@@ -430,7 +430,7 @@ bool AuthMonitor::preprocess_command(MMonCommand *m)
   if (m->cmd.size() > 1) {
     if (m->cmd[1] == "add" ||
         m->cmd[1] == "del" ||
-       m->cmd[1] == "get-or-create" ||
+       m->cmd[1] == "get-or-create-key" ||
        m->cmd[1] == "caps") {
       return false;
     }