Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
carlcsaposs-canonical committed Jun 30, 2023
1 parent c9541a1 commit 069bcbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/relations/deprecated_shared_db_database_provides.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def __init__(
unit: ops.Unit,
event,
) -> None:
if isinstance(event, ops.RelationBrokenEvent) and event.relation.id == self._id:
if isinstance(event, ops.RelationBrokenEvent) and event.relation.id == relation.id:
raise _RelationBreaking
super().__init__(
relation=relation, unit=unit, peer_relation_app_databag=peer_relation_app_databag
Expand Down

0 comments on commit 069bcbe

Please sign in to comment.