You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by qi...@apache.org on 2018/01/28 12:59:44 UTC

mesos git commit: Fixed a typo in `Slave::recover`.

Repository: mesos
Updated Branches:
  refs/heads/master 15fc434e4 -> 25d269605


Fixed a typo in `Slave::recover`.


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

Branch: refs/heads/master
Commit: 25d269605d52fe55910302fefb558ce39e813974
Parents: 15fc434
Author: Qian Zhang <zh...@gmail.com>
Authored: Sun Jan 28 20:59:07 2018 +0800
Committer: Qian Zhang <zh...@gmail.com>
Committed: Sun Jan 28 20:59:07 2018 +0800

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


http://git-wip-us.apache.org/repos/asf/mesos/blob/25d26960/src/slave/slave.cpp
----------------------------------------------------------------------
diff --git a/src/slave/slave.cpp b/src/slave/slave.cpp
index 43c7955..a6a5c93 100644
--- a/src/slave/slave.cpp
+++ b/src/slave/slave.cpp
@@ -6626,7 +6626,7 @@ Future<Nothing> Slave::recover(const Try<state::State>& state)
     } else if (state->rebooted) {
       // Prior to Mesos 1.4 we directly bypass the state recovery and
       // start as a new agent upon reboot (introduced in MESOS-844).
-      // This unncessarily discards the existing agent ID (MESOS-6223).
+      // This unnecessarily discards the existing agent ID (MESOS-6223).
       // Starting in Mesos 1.4 we'll attempt to recover the slave state
       // even after reboot but in case of an incompatible slave info change
       // we'll fall back to recovering as a new agent (existing behavior).