|
@@ -205,9 +205,6 @@ type Config struct {
|
|
|
ListenMetricsUrls []url.URL
|
|
ListenMetricsUrls []url.URL
|
|
|
ListenMetricsUrlsJSON string `json:"listen-metrics-urls"`
|
|
ListenMetricsUrlsJSON string `json:"listen-metrics-urls"`
|
|
|
|
|
|
|
|
- // ForceNewCluster starts a new cluster even if previously started; unsafe.
|
|
|
|
|
- ForceNewCluster bool `json:"force-new-cluster"`
|
|
|
|
|
-
|
|
|
|
|
// UserHandlers is for registering users handlers and only used for
|
|
// UserHandlers is for registering users handlers and only used for
|
|
|
// embedding etcd into other applications.
|
|
// embedding etcd into other applications.
|
|
|
// The map key is the route path for the handler, and
|
|
// The map key is the route path for the handler, and
|
|
@@ -227,6 +224,9 @@ type Config struct {
|
|
|
ExperimentalInitialCorruptCheck bool `json:"experimental-initial-corrupt-check"`
|
|
ExperimentalInitialCorruptCheck bool `json:"experimental-initial-corrupt-check"`
|
|
|
ExperimentalCorruptCheckTime time.Duration `json:"experimental-corrupt-check-time"`
|
|
ExperimentalCorruptCheckTime time.Duration `json:"experimental-corrupt-check-time"`
|
|
|
ExperimentalEnableV2V3 string `json:"experimental-enable-v2v3"`
|
|
ExperimentalEnableV2V3 string `json:"experimental-enable-v2v3"`
|
|
|
|
|
+
|
|
|
|
|
+ // ForceNewCluster starts a new cluster even if previously started; unsafe.
|
|
|
|
|
+ ForceNewCluster bool `json:"force-new-cluster"`
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// configYAML holds the config suitable for yaml parsing
|
|
// configYAML holds the config suitable for yaml parsing
|