Skip to content

Commit

Permalink
Remove pdb call
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-ratushnyy committed Oct 12, 2023
1 parent 9ae7a53 commit d810a00
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1643,7 +1643,7 @@ def _assign_relation_alias(self, relation_id: int) -> None:
logger.debug("Alias %s was already assigned to relation %d", alias, relation.id)
available_aliases.remove(alias)

# Set the alias in the unit relation databag of the specific relation.
# Set the alias in the app relation databag of the specific relation.
self.update_relation_data(relation_id, {"alias": available_aliases[0]})

def _emit_aliased_event(self, event: RelationChangedEvent, event_name: str) -> None:
Expand Down
3 changes: 0 additions & 3 deletions tests/integration/relation_tests/new_relations/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,6 @@ async def get_application_relation_data(
relation_data = [v for v in relation_data if v["relation-id"] == relation_id]

if relation_alias:
import pdb

pdb.set_trace()
# Filter the data based on the cluster/relation alias.
relation_data = [
v
Expand Down

0 comments on commit d810a00

Please sign in to comment.