Skip to content

Commit

Permalink
fix race condition in privkey generation
Browse files Browse the repository at this point in the history
  • Loading branch information
lucabello committed Feb 19, 2024
1 parent 6b0c6bc commit 81e2161
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/charms/observability_libs/v1/cert_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ def _on_config_changed(self, _):
if not relation:
return

self._generate_privkey()
self._generate_csr(renew=True)

def _generate_csr(
Expand Down

0 comments on commit 81e2161

Please sign in to comment.