Skip to content

Commit

Permalink
fix: use set_ports instead of open_port (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucabello authored Apr 17, 2024
1 parent 70f2c25 commit cf0cae8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charm/src/charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def __init__(self, *args):
super().__init__(*args)
self.name = "catalogue" # container, layer, service

self.unit.open_port(protocol="tcp", port=80)
self.unit.set_ports(80)

self._tracing = TracingEndpointRequirer(self, protocols=["otlp_http"])

Expand Down

0 comments on commit cf0cae8

Please sign in to comment.