feat(discovery): fully working discovery now

This commit is contained in:
Brandon Philips
2014-02-04 08:34:27 -08:00
parent 40021ab72e
commit 8687dd3802
6 changed files with 70 additions and 37 deletions

View File

@@ -6,13 +6,13 @@ import (
"strconv"
"time"
"github.com/coreos/etcd/third_party/github.com/coreos/raft"
"github.com/coreos/etcd/third_party/github.com/gorilla/mux"
etcdErr "github.com/coreos/etcd/error"
uhttp "github.com/coreos/etcd/pkg/http"
"github.com/coreos/etcd/log"
"github.com/coreos/etcd/store"
"github.com/coreos/etcd/third_party/github.com/coreos/raft"
"github.com/coreos/etcd/third_party/github.com/gorilla/mux"
)
// Get all the current logs

View File

@@ -26,7 +26,7 @@ Options:
-vv Enabled very verbose logging.
Cluster Configuration Options:
-bootstrap-url=<url> URL to use for bootstrapping the peer list.
-discovery=<url> Discovery service used to find a peer list.
-peers-file=<path> Path to a file containing the peer list.
-peers=<host:port>,<host:port> Comma-separated list of peers. The members
should match the peer's '-peer-addr' flag.