Commit 220eb0c1 authored by ale's avatar ale
Browse files

update etcd default client port

parent 34fbc01d
......@@ -49,6 +49,6 @@ set_interface() {
set_etcd_params() {
local default_etcd_server="etcd.${DOMAIN}"
ETCD_SERVER="${ETCD_SERVER:-${default_etcd_server}}"
local server_ips=$(commaseplist localhost:4001 $(resolveall ${ETCD_SERVER} 4001))
local server_ips=$(commaseplist localhost:2379 $(resolveall ${ETCD_SERVER} 2379))
ETCD_OPTIONS="${ETCD_OPTIONS} --etcd-servers=${server_ips}"
}
......@@ -11,7 +11,7 @@ import (
)
var (
etcdMachines = flag.String("etcd-servers", "localhost:4001", "Etcd servers (comma-separated list)")
etcdMachines = flag.String("etcd-servers", "localhost:2379", "Etcd servers (comma-separated list)")
etcdCertFile = flag.String("etcd-cert", "", "SSL certificate for etcd client")
etcdKeyFile = flag.String("etcd-key", "", "SSL private key for etcd client")
etcdCaFile = flag.String("etcd-ca", "", "SSL CA certificate for etcd client")
......
Supports Markdown
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