Skip to content

Commit

Permalink
skip: small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
DnPlas committed Sep 8, 2023
1 parent e4e6723 commit a4e87f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charms/argo-controller/src/charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def __init__(self, *args):

# patch service ports
metrics_port = ServicePort(METRICS_PORT, name="metrics-port")
liveness_probe_port = ServicePort(LIVENESS_PROBE_PORT, name="liveness-probe")
liveness_probe_port = ServicePort(LIVENESS_PROBE_PORT)
self.service_patcher = KubernetesServicePatch(
self,
[metrics_port, liveness_probe_port],
Expand Down
2 changes: 1 addition & 1 deletion charms/argo-controller/src/components/pebble_component.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def get_layer(self) -> Layer:
LIVENESS_PROBE_NAME: {
"override": "replace",
"period": "30s",
"timeout": "30s",
"timeout": "20s",
"threshold": 3,
"http": {
"url": f"http://localhost:{LIVENESS_PROBE_PORT}{LIVENESS_PROBE_PATH}"
Expand Down

0 comments on commit a4e87f0

Please sign in to comment.