Skip to content

Commit

Permalink
fix ServicePort definition (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucabello authored Jan 13, 2023
1 parent 69e0f0a commit 20b203d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ def __init__(self, *args):
self.service_patcher = KubernetesServicePatch(
self,
[
ServicePort(self._ports.api, f"{self.app.name}"),
ServicePort(self._ports.ha, f"{self.app.name}-ha"),
ServicePort(self._ports.api, name=f"{self.app.name}"),
ServicePort(self._ports.ha, name=f"{self.app.name}-ha"),
],
)
self.resources_patch = KubernetesComputeResourcesPatch(
Expand Down

0 comments on commit 20b203d

Please sign in to comment.