Skip to content

Commit

Permalink
Fix lint erros
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-ratushnyy committed Nov 27, 2023
1 parent 5ffaf86 commit 52f5fec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
USER_CREATION_COOLDOWN = 30
REPLICA_SET_INIT_CHECK_TIMEOUT = 10


def _before_sleep_user_creation(retry_state) -> None:
logger.error(
f"Attempt {retry_state.attempt_number} failed. {USER_CREATING_MAX_ATTEMPTS - retry_state.attempt_number} attempts left. Retrying after {USER_CREATION_COOLDOWN} seconds."
Expand Down

0 comments on commit 52f5fec

Please sign in to comment.