Skip to content

Commit

Permalink
Revert https://review.opencontrail.org/#/c/4683/ as it breaks discovery
Browse files Browse the repository at this point in the history
Change-Id: I4a213c8220919414a21db0c299cce62a2f5de581
  • Loading branch information
ananth-at-camphor-networks committed Nov 19, 2014
1 parent 0e45e07 commit 9ae3dfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/discovery/disc_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ def service_expired(self, entry, include_color=False, include_down=True):

# decorator to catch DB error
def db_error_handler(func):
def error_handler(self, *args, **kwargs):
def error_handler(*args, **kwargs):
try:
return func(*args,**kwargs)
except disc_exceptions.ServiceUnavailable:
Expand Down

0 comments on commit 9ae3dfb

Please sign in to comment.