Skip to content

Commit

Permalink
use new way to get utcnow
Browse files Browse the repository at this point in the history
  • Loading branch information
yrro committed Mar 12, 2024
1 parent 47473e0 commit e451258
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ipahealthcheck/core/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def signal_handler(signum, frame):
else:
logging.debug(
"Plugin %s complete after %s sec",
plugin_name, datetime.utcnow() - start
plugin_name, datetime.now(tz=timezone.utc) - start
)
signal.alarm(0)

Expand Down

0 comments on commit e451258

Please sign in to comment.