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 2017/03/14 11:36:13 UTC
mesos git commit: Sorted enum values in `authorizer.proto` by
numerical order.
Repository: mesos
Updated Branches:
refs/heads/master fa7f4090a -> cd40c419a
Sorted enum values in `authorizer.proto` by numerical order.
Aliasing is allowed in `org.apache.mesos.authorization.Actions`, so the
values have to be kept in numerical order in order to prevent accidental
aliasing.
Review: https://reviews.apache.org/r/57593/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/cd40c419
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/cd40c419
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/cd40c419
Branch: refs/heads/master
Commit: cd40c419acaafffb1e344be1ac4a0837591cc96b
Parents: fa7f409
Author: Gast�n Kleiman <ga...@mesosphere.io>
Authored: Tue Mar 14 12:36:02 2017 +0100
Committer: Vinod Kone <vi...@gmail.com>
Committed: Tue Mar 14 12:36:02 2017 +0100
----------------------------------------------------------------------
include/mesos/authorizer/authorizer.proto | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/cd40c419/include/mesos/authorizer/authorizer.proto
----------------------------------------------------------------------
diff --git a/include/mesos/authorizer/authorizer.proto b/include/mesos/authorizer/authorizer.proto
index 617bf6e..736f76d 100644
--- a/include/mesos/authorizer/authorizer.proto
+++ b/include/mesos/authorizer/authorizer.proto
@@ -170,9 +170,6 @@ enum Action {
// This action will set objects of type `ExecutorInfo` and `FrameworkInfo`.
WAIT_NESTED_CONTAINER = 21;
- // This action will set objects of type `ExecutorInfo` and `FrameworkInfo`.
- REMOVE_NESTED_CONTAINER = 27;
-
// This action will always set the `ExecutorInfo`, `FrameworkInfo` fields
// and optionally a `CommandInfo` if available.
LAUNCH_NESTED_CONTAINER_SESSION = 22;
@@ -189,6 +186,9 @@ enum Action {
// This action will not fill in any object fields, since a principal is
// either allowed to change the log level or he is unauthorized.
SET_LOG_LEVEL = 26;
+
+ // This action will set objects of type `ExecutorInfo` and `FrameworkInfo`.
+ REMOVE_NESTED_CONTAINER = 27;
}