Skip to content

Commit

Permalink
fix ServicePort definition (#419)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucabello authored Jan 13, 2023
1 parent 0d7abc7 commit 96785e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def __init__(self, *args):

self.service_patch = KubernetesServicePatch(
self,
[ServicePort(self._port, f"{self.app.name}")],
[ServicePort(self._port, name=f"{self.app.name}")],
)

self.resources_patch = KubernetesComputeResourcesPatch(
Expand Down

0 comments on commit 96785e9

Please sign in to comment.