From ddafb2f121148b778081c5c934032870e755c59f Mon Sep 17 00:00:00 2001 From: Jan Chaloupka Date: Fri, 16 Dec 2016 17:01:13 +0100 Subject: [PATCH] change 4001 to 2379 in help and README --- README.md | 2 +- main.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index dffd3ad..6e691c6 100644 --- a/README.md +++ b/README.md @@ -182,7 +182,7 @@ $ flanneld --remote=10.0.0.3:8888 --networks=blue,green ``` --public-ip="": IP accessible by other nodes for inter-host communication. Defaults to the IP of the interface being used for communication. ---etcd-endpoints=http://127.0.0.1:4001: a comma-delimited list of etcd endpoints. +--etcd-endpoints=http://127.0.0.1:2379: a comma-delimited list of etcd endpoints. --etcd-prefix=/coreos.com/network: etcd prefix. --etcd-keyfile="": SSL key file used to secure etcd communication. --etcd-certfile="": SSL certification file used to secure etcd communication. diff --git a/main.go b/main.go index d6dc894..b6493e0 100644 --- a/main.go +++ b/main.go @@ -61,7 +61,7 @@ type CmdLineOpts struct { var opts CmdLineOpts func init() { - flag.StringVar(&opts.etcdEndpoints, "etcd-endpoints", "http://127.0.0.1:4001,http://127.0.0.1:2379", "a comma-delimited list of etcd endpoints") + flag.StringVar(&opts.etcdEndpoints, "etcd-endpoints", "http://127.0.0.1:2379", "a comma-delimited list of etcd endpoints") flag.StringVar(&opts.etcdPrefix, "etcd-prefix", "/coreos.com/network", "etcd prefix") flag.StringVar(&opts.etcdKeyfile, "etcd-keyfile", "", "SSL key file used to secure etcd communication") flag.StringVar(&opts.etcdCertfile, "etcd-certfile", "", "SSL certification file used to secure etcd communication") -- 2.7.4