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): ...@@ -178,7 +178,8 @@ def deploy_on_master(deployment_file, vm):
cmd = 'kubectl get svc --output json' cmd = 'kubectl get svc --output json'
stdin, stdout, stderr = ssh.exec_command(cmd) stdin, stdout, stderr = ssh.exec_command(cmd)
e_out = stderr.read() e_out = stderr.read()
json_output = stdout.read().splitlines() json_output = stdout.read()
# exposed_ports_str = '' # exposed_ports_str = ''
# for port in exposed_ports: # for port in exposed_ports:
# exposed_ports_str += port + ',' # 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