From 4cc3523201466e8726869ee5fa444c572076d0f1 Mon Sep 17 00:00:00 2001 From: Frank Schroeder Date: Mon, 29 Oct 2018 22:08:30 +0100 Subject: [PATCH] gofmt --- config/config.go | 6 +----- config/default.go | 1 - config/load.go | 1 - 3 files changed, 1 insertion(+), 7 deletions(-) diff --git a/config/config.go b/config/config.go index 2da1818a6..098985aa5 100644 --- a/config/config.go +++ b/config/config.go @@ -7,7 +7,6 @@ import ( ) type Config struct { - Proxy Proxy Registry Registry Listen []Listen @@ -15,13 +14,11 @@ type Config struct { Metrics Metrics UI UI Runtime Runtime - Tracing Tracing + Tracing Tracing ProfileMode string ProfilePath string Insecure bool GlobMatchingDisabled bool - - } type CertSource struct { @@ -160,4 +157,3 @@ type Tracing struct { SamplerRate float64 SpanHost string } - diff --git a/config/default.go b/config/default.go index 16198f52e..dd1e9df6c 100644 --- a/config/default.go +++ b/config/default.go @@ -88,5 +88,4 @@ var defaultConfig = &Config{ SamplerRate: -1, SpanHost: "localhost:9998", }, - } diff --git a/config/load.go b/config/load.go index f299e1381..881e05ab0 100644 --- a/config/load.go +++ b/config/load.go @@ -196,7 +196,6 @@ func load(cmdline, environ, envprefix []string, props *properties.Properties) (c f.StringVar(&cfg.Tracing.SpanHost, "tracing.SpanHost", defaultConfig.Tracing.SpanHost, "Host:Port info to add to spans") f.BoolVar(&cfg.GlobMatchingDisabled, "glob.matching.disabled", defaultConfig.GlobMatchingDisabled, "Disable Glob Matching on routes, one of [true, false]") - // deprecated flags var proxyLogRoutes string f.StringVar(&proxyLogRoutes, "proxy.log.routes", "", "deprecated. use log.routes.format instead")