Skip to content

Commit

Permalink
Fix logging in SecretsMixin
Browse files Browse the repository at this point in the history
  • Loading branch information
miaow2 committed Jun 22, 2024
1 parent 5dee473 commit 206ee9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netbox_config_diff/compliance/secrets.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def get_master_key(self) -> None:
self.master_key = sk.get_master_key(self.session_key)
except Exception as e:
if getattr(self, "logger"):
self.logger.log_failure(f"Can't fetch master_key: {str(e)}")
self.log_failure(f"Can't fetch master_key: {str(e)}")
else:
self.log_failure(f"Can't fetch master_key: {str(e)}")

Expand Down

0 comments on commit 206ee9e

Please sign in to comment.