Skip to content

Commit

Permalink
TECH-1204 - Another try
Browse files Browse the repository at this point in the history
  • Loading branch information
OleksandrUA committed May 11, 2023
1 parent a83301a commit 37e7c58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chief_keeper/chief_keeper.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,9 @@ def __init__(self, args: list, **kwargs):
level=(logging.DEBUG if self.arguments.debug else logging.INFO),
)

def healthy(self, func):
def healthy(func):
@wraps(func)
def wrapper(*args, **kwargs):
def wrapper(self, *args, **kwargs):
ts = int(time.time())
self.logger.info(f"Health-check passed: {ts}")
with open(self.arguments.health_check_file_path, "w") as f:
Expand Down

0 comments on commit 37e7c58

Please sign in to comment.