Commit eda23c5d authored by Spiros Koulouzis's avatar Spiros Koulouzis

do not splitlines()

parent ed45a585
......@@ -178,7 +178,8 @@ def deploy_on_master(deployment_file, vm):
cmd = 'kubectl get svc --output json'
stdin, stdout, stderr = ssh.exec_command(cmd)
e_out = stderr.read()
json_output = stdout.read().splitlines()
json_output = stdout.read()
# exposed_ports_str = ''
# for port in exposed_ports:
# exposed_ports_str += port + ','
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment