Skip to content

Commit

Permalink
register weaveworks/common/server flags to inherit their default values
Browse files Browse the repository at this point in the history
  • Loading branch information
rfratto committed Mar 3, 2020
1 parent b86c550 commit ec021b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/agent/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ func (c *Config) RegisterFlags(f *flag.FlagSet) {
c.Server.MetricsNamespace = "agent"
c.Server.RegisterInstrumentation = true
c.Prometheus.RegisterFlags(f)
c.Server.RegisterFlags(f)
}

func init() {
Expand Down

0 comments on commit ec021b7

Please sign in to comment.