Skip to content

Commit

Permalink
use double quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
arturo-seijas committed Nov 15, 2023
1 parent 3240a1d commit ce63808
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/charms/redis_k8s/v0/redis.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ def __init__(self, charm, port, relation_name: str = DEFAULT_REALTION_NAME):

def _on_relation_changed(self, event):
"""Handle the relation changed event."""
event.relation.data[self.model.unit]['hostname'] = self._get_master_ip()
event.relation.data[self.model.unit]['port'] = str(self._port)
event.relation.data[self.model.unit]["hostname"] = self._get_master_ip()
event.relation.data[self.model.unit]["port"] = str(self._port)
# The reactive Redis charm also exposes 'password'. When tackling
# https://github.com/canonical/redis-k8s/issues/7 add 'password'
# field so that it matches the exposed interface information from it.
Expand Down

0 comments on commit ce63808

Please sign in to comment.