Skip to content

Commit

Permalink
gofmt
Browse files Browse the repository at this point in the history
  • Loading branch information
magiconair committed Oct 29, 2018
1 parent a5ec881 commit 4cc3523
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
6 changes: 1 addition & 5 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,18 @@ import (
)

type Config struct {

Proxy Proxy
Registry Registry
Listen []Listen
Log Log
Metrics Metrics
UI UI
Runtime Runtime
Tracing Tracing
Tracing Tracing
ProfileMode string
ProfilePath string
Insecure bool
GlobMatchingDisabled bool


}

type CertSource struct {
Expand Down Expand Up @@ -160,4 +157,3 @@ type Tracing struct {
SamplerRate float64
SpanHost string
}

1 change: 0 additions & 1 deletion config/default.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,4 @@ var defaultConfig = &Config{
SamplerRate: -1,
SpanHost: "localhost:9998",
},

}
1 change: 0 additions & 1 deletion config/load.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 4cc3523

Please sign in to comment.