You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aurora.apache.org by ma...@apache.org on 2013/12/17 04:01:32 UTC
git commit: Dropping duplicate LOCK error message.
Updated Branches:
refs/heads/master 439d4e3cc -> 70f314188
Dropping duplicate LOCK error message.
Reviewed at https://reviews.apache.org/r/16310/
Project: http://git-wip-us.apache.org/repos/asf/incubator-aurora/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-aurora/commit/70f31418
Tree: http://git-wip-us.apache.org/repos/asf/incubator-aurora/tree/70f31418
Diff: http://git-wip-us.apache.org/repos/asf/incubator-aurora/diff/70f31418
Branch: refs/heads/master
Commit: 70f314188bf66b29e03f091834f82c883cbe712b
Parents: 439d4e3
Author: Maxim Khutornenko <ma...@apache.org>
Authored: Mon Dec 16 19:00:52 2013 -0800
Committer: Maxim Khutornenko <mk...@twitter.com>
Committed: Mon Dec 16 19:00:52 2013 -0800
----------------------------------------------------------------------
src/main/python/twitter/aurora/client/api/BUILD | 1 -
src/main/python/twitter/aurora/client/api/updater.py | 4 ----
2 files changed, 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/70f31418/src/main/python/twitter/aurora/client/api/BUILD
----------------------------------------------------------------------
diff --git a/src/main/python/twitter/aurora/client/api/BUILD b/src/main/python/twitter/aurora/client/api/BUILD
index 6818a75..4935b8a 100644
--- a/src/main/python/twitter/aurora/client/api/BUILD
+++ b/src/main/python/twitter/aurora/client/api/BUILD
@@ -91,7 +91,6 @@ python_library(
pants(':instance_watcher'),
pants(':updater_util'),
pants('aurora/twitterdeps/src/python/twitter/common/log'),
- pants('src/main/python/twitter/aurora/client:base'),
pants('src/main/thrift/com/twitter/aurora/gen:py-thrift'),
]
)
http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/70f31418/src/main/python/twitter/aurora/client/api/updater.py
----------------------------------------------------------------------
diff --git a/src/main/python/twitter/aurora/client/api/updater.py b/src/main/python/twitter/aurora/client/api/updater.py
index 32bd6a1..155743f 100644
--- a/src/main/python/twitter/aurora/client/api/updater.py
+++ b/src/main/python/twitter/aurora/client/api/updater.py
@@ -5,7 +5,6 @@ from twitter.common import log
from gen.twitter.aurora.constants import ACTIVE_STATES
-from twitter.aurora.client.base import check_and_log_locked_response
from gen.twitter.aurora.ttypes import (
AddInstancesConfig,
JobConfigValidation,
@@ -61,9 +60,6 @@ class Updater(object):
resp = self._scheduler.acquireLock(LockKey(job=self._job_key))
if resp.responseCode == ResponseCode.OK:
self._lock = resp.result.acquireLockResult.lock
- else:
- log.error('Error starting update: %s' % resp.message)
- check_and_log_locked_response(resp)
return resp
def _finish(self):