|
|
5aa948 |
From 3bc5bbbee3fdedcd26047c5aaaa8c6b3d68503b9 Mon Sep 17 00:00:00 2001
|
|
|
5aa948 |
From: Jan Chaloupka <jchaloup@redhat.com>
|
|
|
5aa948 |
Date: Thu, 10 Sep 2015 16:38:02 +0200
|
|
|
5aa948 |
Subject: [PATCH] change 4001 to 2379 in help and README
|
|
|
5aa948 |
|
|
|
5aa948 |
---
|
|
|
5aa948 |
README.md | 2 +-
|
|
|
5aa948 |
main.go | 2 +-
|
|
|
5aa948 |
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
5aa948 |
|
|
|
5aa948 |
diff --git a/README.md b/README.md
|
|
|
5aa948 |
index 65b0c1f..d27d954 100644
|
|
|
5aa948 |
--- a/README.md
|
|
|
5aa948 |
+++ b/README.md
|
|
|
5aa948 |
@@ -178,7 +178,7 @@ $ flanneld --remote=10.0.0.3:8888 --networks=blue,green
|
|
|
5aa948 |
|
|
|
5aa948 |
```
|
|
|
5aa948 |
--public-ip="": IP accessible by other nodes for inter-host communication. Defaults to the IP of the interface being used for communication.
|
|
|
5aa948 |
---etcd-endpoints=http://127.0.0.1:4001: a comma-delimited list of etcd endpoints.
|
|
|
5aa948 |
+--etcd-endpoints=http://127.0.0.1:2379: a comma-delimited list of etcd endpoints.
|
|
|
5aa948 |
--etcd-prefix=/coreos.com/network: etcd prefix.
|
|
|
5aa948 |
--etcd-keyfile="": SSL key file used to secure etcd communication.
|
|
|
5aa948 |
--etcd-certfile="": SSL certification file used to secure etcd communication.
|
|
|
5aa948 |
diff --git a/main.go b/main.go
|
|
|
5aa948 |
index 9e10455..88298bc 100644
|
|
|
5aa948 |
--- a/main.go
|
|
|
5aa948 |
+++ b/main.go
|
|
|
5aa948 |
@@ -62,7 +62,7 @@ var opts CmdLineOpts
|
|
|
5aa948 |
|
|
|
5aa948 |
func init() {
|
|
|
5aa948 |
flag.StringVar(&opts.publicIP, "public-ip", "", "IP accessible by other nodes for inter-host communication")
|
|
|
5aa948 |
- 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")
|
|
|
5aa948 |
+ flag.StringVar(&opts.etcdEndpoints, "etcd-endpoints", "http://127.0.0.1:2379", "a comma-delimited list of etcd endpoints")
|
|
|
5aa948 |
flag.StringVar(&opts.etcdPrefix, "etcd-prefix", "/coreos.com/network", "etcd prefix")
|
|
|
5aa948 |
flag.StringVar(&opts.etcdKeyfile, "etcd-keyfile", "", "SSL key file used to secure etcd communication")
|
|
|
5aa948 |
flag.StringVar(&opts.etcdCertfile, "etcd-certfile", "", "SSL certification file used to secure etcd communication")
|
|
|
5aa948 |
--
|
|
|
5aa948 |
1.9.3
|
|
|
5aa948 |
|