Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
schmichael committed Nov 9, 2016
1 parent 3b4fe9a commit 778dfef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions command/agent/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -663,8 +663,8 @@ func (c *Config) Merge(b *Config) *Config {
return &result
}

// normalize Addresses and AdvertiseAddrs to always be initialized and have
// sane defaults.
// normalizeAddrs normalizes Addresses and AdvertiseAddrs to always be
// initialized and have sane defaults.
func (c *Config) normalizeAddrs() error {
c.Addresses.HTTP = normalizeBind(c.Addresses.HTTP, c.BindAddr)
c.Addresses.RPC = normalizeBind(c.Addresses.RPC, c.BindAddr)
Expand Down

0 comments on commit 778dfef

Please sign in to comment.