You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aurora.apache.org by jo...@apache.org on 2018/03/23 20:29:15 UTC

aurora git commit: Remove unused LOST_LOCK_MESSAGE variable in JobUpdateControllerImpl

Repository: aurora
Updated Branches:
  refs/heads/master f32086dd1 -> 05e78014a


Remove unused LOST_LOCK_MESSAGE variable in JobUpdateControllerImpl

We no longer use locks for updates (context: https://reviews.apache.org/r/63130/). This was a legacy variable.

Reviewed at https://reviews.apache.org/r/66199/


Project: http://git-wip-us.apache.org/repos/asf/aurora/repo
Commit: http://git-wip-us.apache.org/repos/asf/aurora/commit/05e78014
Tree: http://git-wip-us.apache.org/repos/asf/aurora/tree/05e78014
Diff: http://git-wip-us.apache.org/repos/asf/aurora/diff/05e78014

Branch: refs/heads/master
Commit: 05e78014ab98382af7a8d55f273d29469fab7b1d
Parents: f32086d
Author: Jordan Ly <jo...@gmail.com>
Authored: Fri Mar 23 10:13:30 2018 -0700
Committer: Jordan Ly <jl...@twitter.com>
Committed: Fri Mar 23 10:13:30 2018 -0700

----------------------------------------------------------------------
 .../apache/aurora/scheduler/updater/JobUpdateControllerImpl.java  | 3 ---
 1 file changed, 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/aurora/blob/05e78014/src/main/java/org/apache/aurora/scheduler/updater/JobUpdateControllerImpl.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/aurora/scheduler/updater/JobUpdateControllerImpl.java b/src/main/java/org/apache/aurora/scheduler/updater/JobUpdateControllerImpl.java
index f8be805..ec577cc 100644
--- a/src/main/java/org/apache/aurora/scheduler/updater/JobUpdateControllerImpl.java
+++ b/src/main/java/org/apache/aurora/scheduler/updater/JobUpdateControllerImpl.java
@@ -573,9 +573,6 @@ class JobUpdateControllerImpl implements JobUpdateController {
   }
 
   @VisibleForTesting
-  static final String LOST_LOCK_MESSAGE = "Updater has lost its exclusive lock, unable to proceed.";
-
-  @VisibleForTesting
   static final String PULSE_TIMEOUT_MESSAGE = "Pulses from external service have timed out.";
 
   private void evaluateUpdater(