Skip to content

Commit

Permalink
Add 1st batch of backup/restore unit tests (#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
marceloneppel authored May 26, 2023
1 parent a8068df commit 73cf8f7
Show file tree
Hide file tree
Showing 2 changed files with 575 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/backups.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ def _initialise_stanza(self) -> None:
except RetryError as e:
# If the check command doesn't succeed, remove the stanza name
# and rollback the configuration.
self.charm.app_peer_data.update({"stanza": self.stanza_name})
self.charm.app_peer_data.update({"stanza": ""})
self.charm.update_config()

logger.exception(e)
Expand Down
Loading

0 comments on commit 73cf8f7

Please sign in to comment.