added cluster_ssh_port_var to read from env
parent
5c736a1b85
commit
f0047a7a0c
|
@ -104,6 +104,10 @@ func SetupCloudOptions() {
|
||||||
utils.WriteOption("CLUSTER_IP", cloudEnv["CLUSTER_IP"])
|
utils.WriteOption("CLUSTER_IP", cloudEnv["CLUSTER_IP"])
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if cloudEnv["CLUSTER_SSH_PORT"] != "" {
|
||||||
|
utils.WriteOption("CLUSTER_SSH_PORT", cloudEnv["CLUSTER_SSH_PORT"])
|
||||||
|
}
|
||||||
|
|
||||||
if cloudEnv["EDGEBOXIO_API_TOKEN"] != "" {
|
if cloudEnv["EDGEBOXIO_API_TOKEN"] != "" {
|
||||||
utils.WriteOption("EDGEBOXIO_API_TOKEN", cloudEnv["EDGEBOXIO_API_TOKEN"])
|
utils.WriteOption("EDGEBOXIO_API_TOKEN", cloudEnv["EDGEBOXIO_API_TOKEN"])
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue