Skip to content

Commit

Permalink
fix ServicePort definition (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucabello authored Jan 13, 2023
1 parent 3451865 commit 1513d0e
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 @@ -76,8 +76,8 @@ def __init__(self, *args):
self.service_patch = KubernetesServicePatch(
self,
[
ServicePort(self._http_listen_port, f"{self.app.name}-http-listen-port"),
ServicePort(self._grpc_listen_port, f"{self.app.name}-grpc-listen-port"),
ServicePort(self._http_listen_port, name=f"{self.app.name}-http-listen-port"),
ServicePort(self._grpc_listen_port, name=f"{self.app.name}-grpc-listen-port"),
],
)

Expand Down

0 comments on commit 1513d0e

Please sign in to comment.