-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Issue After updating to Juju 3.1 the charm failed on its relation tests #247 This was due to when apps scale down in 3.1, they receive relation broken events. Thereby attempts to remove users were made when relations were actually not removed, but instead a unit was being removed. ## Solution Add a check in `relation-departed`. In this function we can tell if we are receiving the `relation-broken` event due to scale down or relation removal. ## more Once this PR is accepted, we will make another one for branch `5/edge` --------- Co-authored-by: Mykola Marzhan <[email protected]>
- Loading branch information
1 parent
15339e3
commit 41a2c13
Showing
2 changed files
with
62 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters