Skip to content

Commit

Permalink
Update ops/model.py
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 21, 2023
1 parent 3327beb commit a19f4f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ops/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ def close_port(self, protocol: typing.Literal['tcp', 'udp', 'icmp'],
port: Optional[int] = None):
"""Close a port with the given protocol for this unit.
Some behaviour, such as whether the post is closed externally without
Some behaviour, such as whether the port is closed externally without
using "juju unexpose", differs between Kubernetes and machine charms.
See the
`Juju documentation <https://juju.is/docs/sdk/hook-tool#heading--close-port>`_
Expand Down

0 comments on commit a19f4f8

Please sign in to comment.