Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
arturo-seijas committed Jan 28, 2025
1 parent 57b4ebc commit 4d49860
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,11 +174,11 @@ def reconcile(self, _: ops.HookEvent) -> None:
except ops.SecretNotFoundError:
secret = self.app.add_secret(credentials, label=WAZUH_API_CREDENTIALS)
logger.debug("Added secret %s with credentials", secret.id)
# Fetch the new wazuh layer, which has readiness checks
# Fetch the new wazuh layer, which has different env vars
logger.debug("Reconfiguring pebble layers")
container.add_layer("wazuh", self._wazuh_pebble_layer, combine=True)
container.add_layer("prometheus", self._prometheus_pebble_layer, combine=True)
container.restart("wazuh", "prometheus-exporter")
container.replamn()
self.unit.set_workload_version(wazuh.get_version(container))
self.unit.status = ops.ActiveStatus()

Expand Down

0 comments on commit 4d49860

Please # to comment.