Skip to content

Commit

Permalink
Update src/charm.py
Browse files Browse the repository at this point in the history
Co-authored-by: Gulsum Atici <[email protected]>
  • Loading branch information
Mark Beierl and gatici authored Feb 15, 2024
1 parent 7ae436f commit a4af502
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ def _update_certificate(self, provider_certificate) -> bool:
self._get_stored_certificate() if self._certificate_is_stored() else ""
)

if not existing_certificate == provider_certificate:
if existing_certificate != provider_certificate:
self._store_certificate(certificate=provider_certificate)
return True
return False
Expand Down

0 comments on commit a4af502

Please sign in to comment.