You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by vi...@apache.org on 2016/04/22 23:01:52 UTC

[2/2] mesos git commit: Fixed handling of UNKNOWN authorization action.

Fixed handling of UNKNOWN authorization action.

This patch is related to:
https://reviews.apache.org/r/45342/ (MESOS-5031)

Review: https://reviews.apache.org/r/46470/


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/60dcd72c
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/60dcd72c
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/60dcd72c

Branch: refs/heads/master
Commit: 60dcd72c372b393f06f8917266176f9c86af186b
Parents: 95b7622
Author: Yong Tang <yo...@outlook.com>
Authored: Fri Apr 22 13:54:28 2016 -0700
Committer: Vinod Kone <vi...@gmail.com>
Committed: Fri Apr 22 14:01:40 2016 -0700

----------------------------------------------------------------------
 src/authorizer/local/authorizer.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/60dcd72c/src/authorizer/local/authorizer.cpp
----------------------------------------------------------------------
diff --git a/src/authorizer/local/authorizer.cpp b/src/authorizer/local/authorizer.cpp
index c744a16..0a3805f 100644
--- a/src/authorizer/local/authorizer.cpp
+++ b/src/authorizer/local/authorizer.cpp
@@ -201,7 +201,7 @@ public:
 
         return authorized(request, acls_);
         break;
-      default:
+      case authorization::UNKNOWN:
         LOG(WARNING) << "Authorization request for action '" << request.action()
                      << "' is not defined and therefore not authorized";
         return false;