Merge "BigSwitch: Stop using external locks"

This commit is contained in:
Jenkins 2014-03-03 21:19:27 +00:00 committed by Gerrit Code Review
commit 4b431c35e6
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +227,7 @@ class ServerPool(object):
"""
return resp[0] in SUCCESS_CODES
@utils.synchronized('bsn-rest-call', external=True)
@utils.synchronized('bsn-rest-call')
def rest_call(self, action, resource, data, headers, ignore_codes):
good_first = sorted(self.servers, key=lambda x: x.failed)
for active_server in good_first: