summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--k8s/k8sclient/k8sclient.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/k8s/k8sclient/k8sclient.py b/k8s/k8sclient/k8sclient.py
index eff51a3..4040642 100644
--- a/k8s/k8sclient/k8sclient.py
+++ b/k8s/k8sclient/k8sclient.py
@@ -99,7 +99,7 @@ def _create_probe(hc, port, use_tls=False):
http_get = client.V1HTTPGetAction(
path = hc['endpoint'],
port = port,
- scheme = 'HTTPS' if use_tls else probe_type.upper()
+ scheme = probe_type.upper()
)
)
elif probe_type in ['script', 'docker']:
@@ -593,4 +593,4 @@ def execute_command_in_deployment(deployment_description, command):
return _execute_command_in_pod(namespace, pod_name, command)
# Execute command in the running pods
- return map(do_execute, pod_names) \ No newline at end of file
+ return map(do_execute, pod_names)