From 17583f7c5de40530b1f16a9c9a9f0cbacd08e9f6 Mon Sep 17 00:00:00 2001 From: Jason Wilder Date: Wed, 12 Aug 2015 13:01:27 -0600 Subject: [PATCH] Remove [meta].peers config option Adding a new peer must happen via the -join flag. --- meta/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/config.go b/meta/config.go index 310d601bdd8..161bd70c089 100644 --- a/meta/config.go +++ b/meta/config.go @@ -31,7 +31,7 @@ type Config struct { Dir string `toml:"dir"` Hostname string `toml:"hostname"` BindAddress string `toml:"bind-address"` - Peers []string `toml:"peers"` + Peers []string `toml:"-"` RetentionAutoCreate bool `toml:"retention-autocreate"` ElectionTimeout toml.Duration `toml:"election-timeout"` HeartbeatTimeout toml.Duration `toml:"heartbeat-timeout"`