]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mgr: fix "access denied" message
authorJohn Spray <john.spray@redhat.com>
Thu, 14 Dec 2017 11:41:02 +0000 (11:41 +0000)
committerJohn Spray <john.spray@redhat.com>
Thu, 14 Dec 2017 11:41:02 +0000 (11:41 +0000)
As pointed out on https://github.com/ceph/ceph/pull/18716

Signed-off-by: John Spray <john.spray@redhat.com>
src/mgr/DaemonServer.cc

index d4c9416ddafcba13dcb2508cc973bd35a6e56d6c..d0f4bfc467e6f4f8d223ff66b36e4034fc0a691d 100644 (file)
@@ -726,7 +726,7 @@ bool DaemonServer::handle_command(MCommand *m)
       audit_clog->info() << "from='" << session->inst << "' "
                          << "entity='" << session->entity_name << "' "
                          << "cmd=" << m->cmd << ":  access denied";
-      ss << "access denied' does your client key have mgr caps? "
+      ss << "access denied: does your client key have mgr caps? "
             "See http://docs.ceph.com/docs/master/mgr/administrator/"
             "#client-authentication";
       cmdctx->reply(-EACCES, ss);