Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Ben Hoyt <[email protected]>
  • Loading branch information
tonyandrewmeyer and benhoyt authored Sep 22, 2023
1 parent 22077aa commit b56d848
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ops/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ def _calculate_expiry(expire: Optional[Union[datetime.datetime, datetime.timedel
class Unit:
"""Represents a named unit in the model.
This might be this charm's unit, another unit of the charm's application, or a unit of
This might be the current unit, another unit of the charm's application, or a unit of
another application that the charm is related to.
"""

Expand Down Expand Up @@ -907,7 +907,7 @@ def bind_address(self) -> Optional[Union[ipaddress.IPv4Address, ipaddress.IPv6Ad
@property
def ingress_address(self) -> Optional[
Union[ipaddress.IPv4Address, ipaddress.IPv6Address, str]]:
"""The address other applications should use to connect to the charm's unit.
"""The address other applications should use to connect to the current unit.
Due to things like public/private addresses, NAT and tunneling, the address the charm
will bind() to is not always the address other people can use to connect() to the
Expand Down

0 comments on commit b56d848

Please sign in to comment.