diff options
author | Andreas Geissler <andreas-geissler@telekom.de> | 2023-08-30 08:41:53 +0200 |
---|---|---|
committer | Andreas Geissler <andreas-geissler@telekom.de> | 2023-08-30 08:48:50 +0200 |
commit | 68eb3f51d686c2a784852116e93641f3f358da50 (patch) | |
tree | ef301bd1092d8552eadd336b1b8ac612077b8d14 | |
parent | 86614aa6ed0c8c0147cbe8948eb437c858c6a12e (diff) |
[READINESS] Small correction in parameter handling5.0.1
Parameters --pod-name and --app-name were failing
Issue-ID: OOM-3171
Issue-ID: OOM-3236
Change-Id: I00c80a4fac0c8afafeb62d8890f9516a8c1df7ee
Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
-rwxr-xr-x | ready.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -343,7 +343,7 @@ def get_deployment_name(replicaset): namespace) deployment_name = read_name(api_response) return deployment_name - + def check_socket(host, port): with closing(socket.socket(socket.AF_INET, socket.SOCK_STREAM)) as sock: if sock.connect_ex((host, port)) == 0: @@ -404,8 +404,8 @@ def main(argv): url = DEF_URL try: opts, _args = getopt.getopt(argv, "hj:c:p:a:t:s:u:", ["container-name=", - "pod-name", - "app-name", + "pod-name=", + "app-name=", "timeout=", "service-mesh-check=", "url=", |