Skip to content

Commit

Permalink
Tweak error message when use is not in expected accounts.
Browse files Browse the repository at this point in the history
  • Loading branch information
amanning9 committed Sep 11, 2024
1 parent 5fb5e84 commit ff2e2b6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jasmin_slurm_sync/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ def expected_slurm_accounts(self) -> set[str]:
if expected_accounts >= self.settings.required_slurm_accounts:
return expected_accounts
logger.warning(
"User is not in required accounts: %s so will be removed from ALL acounts that the script manages.",
"User %s is not in required accounts: %s so will be removed from ALL acounts that the script manages.",
self.username,
self.settings.required_slurm_accounts - expected_accounts,
)
return set()
Expand Down

0 comments on commit ff2e2b6

Please sign in to comment.