From a88f07734849bb7ef5c94724bcb4b093e25c78b4 Mon Sep 17 00:00:00 2001 From: Xiang Li Date: Sun, 6 Jul 2014 20:37:15 -0700 Subject: [PATCH] config: remove unused map --- config/config.go | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/config/config.go b/config/config.go index adddce77e..828d80a8a 100644 --- a/config/config.go +++ b/config/config.go @@ -23,30 +23,6 @@ import ( // The default location for the etcd configuration file. const DefaultSystemConfigPath = "/etc/etcd/etcd.conf" -// A lookup of deprecated flags to their new flag name. -var newFlagNameLookup = map[string]string{ - "C": "peers", - "CF": "peers-file", - "n": "name", - "c": "addr", - "cl": "bind-addr", - "s": "peer-addr", - "sl": "peer-bind-addr", - "d": "data-dir", - "m": "max-result-buffer", - "r": "max-retry-attempts", - "maxsize": "cluster-active-size", - "clientCAFile": "ca-file", - "clientCert": "cert-file", - "clientKey": "key-file", - "serverCAFile": "peer-ca-file", - "serverCert": "peer-cert-file", - "serverKey": "peer-key-file", - "snapshotCount": "snapshot-count", - "peer-heartbeat-timeout": "peer-heartbeat-interval", - "max-cluster-size": "cluster-active-size", -} - // Config represents the server configuration. type Config struct { SystemPath string