You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by al...@apache.org on 2016/08/03 12:53:30 UTC

[5/7] mesos git commit: Renamed actor IDs for consistency.

Renamed actor IDs for consistency.

Make all actor IDs contain only lower case letters and dashes
(not underscores).

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


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

Branch: refs/heads/master
Commit: 6d671a91e1ebb118dfc08e708e096d2987f99434
Parents: a755c24
Author: Gast�n Kleiman <ga...@mesosphere.com>
Authored: Wed Aug 3 14:29:02 2016 +0200
Committer: Alexander Rukletsov <al...@apache.org>
Committed: Wed Aug 3 14:29:02 2016 +0200

----------------------------------------------------------------------
 src/authentication/cram_md5/authenticatee.cpp | 2 +-
 src/authentication/cram_md5/authenticator.cpp | 4 ++--
 src/executor/v0_v1executor.cpp                | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/6d671a91/src/authentication/cram_md5/authenticatee.cpp
----------------------------------------------------------------------
diff --git a/src/authentication/cram_md5/authenticatee.cpp b/src/authentication/cram_md5/authenticatee.cpp
index 236de25..16291a1 100644
--- a/src/authentication/cram_md5/authenticatee.cpp
+++ b/src/authentication/cram_md5/authenticatee.cpp
@@ -56,7 +56,7 @@ public:
   CRAMMD5AuthenticateeProcess(
       const Credential& _credential,
       const UPID& _client)
-    : ProcessBase(ID::generate("crammd5_authenticatee")),
+    : ProcessBase(ID::generate("crammd5-authenticatee")),
       credential(_credential),
       client(_client),
       status(READY),

http://git-wip-us.apache.org/repos/asf/mesos/blob/6d671a91/src/authentication/cram_md5/authenticator.cpp
----------------------------------------------------------------------
diff --git a/src/authentication/cram_md5/authenticator.cpp b/src/authentication/cram_md5/authenticator.cpp
index 4ec1568..9f89578 100644
--- a/src/authentication/cram_md5/authenticator.cpp
+++ b/src/authentication/cram_md5/authenticator.cpp
@@ -59,7 +59,7 @@ class CRAMMD5AuthenticatorSessionProcess :
 {
 public:
   explicit CRAMMD5AuthenticatorSessionProcess(const UPID& _pid)
-    : ProcessBase(ID::generate("crammd5_authenticator_session")),
+    : ProcessBase(ID::generate("crammd5-authenticator-session")),
       status(READY),
       pid(_pid),
       connection(nullptr) {}
@@ -405,7 +405,7 @@ class CRAMMD5AuthenticatorProcess :
 {
 public:
   CRAMMD5AuthenticatorProcess() :
-    ProcessBase(ID::generate("crammd5_authenticator")) {}
+    ProcessBase(ID::generate("crammd5-authenticator")) {}
 
   virtual ~CRAMMD5AuthenticatorProcess() {}
 

http://git-wip-us.apache.org/repos/asf/mesos/blob/6d671a91/src/executor/v0_v1executor.cpp
----------------------------------------------------------------------
diff --git a/src/executor/v0_v1executor.cpp b/src/executor/v0_v1executor.cpp
index cd1c590..61d5919 100644
--- a/src/executor/v0_v1executor.cpp
+++ b/src/executor/v0_v1executor.cpp
@@ -50,7 +50,7 @@ public:
       const function<void(void)>& connected,
       const function<void(void)>& disconnected,
       const function<void(const queue<Event>&)>& received)
-    : ProcessBase(process::ID::generate("v0ToV1Adapter")),
+    : ProcessBase(process::ID::generate("v0-to-v1-adapter")),
       callbacks {connected, disconnected, received},
       subscribeCall(false) {}