Fix comment

This commit is contained in:
Michael Schurter 2016-11-09 15:51:00 -08:00
parent c301e696cf
commit cb1e2d2194
1 changed files with 2 additions and 2 deletions

View File

@ -663,8 +663,8 @@ func (c *Config) Merge(b *Config) *Config {
return &result return &result
} }
// normalize Addresses and AdvertiseAddrs to always be initialized and have // normalizeAddrs normalizes Addresses and AdvertiseAddrs to always be
// sane defaults. // initialized and have sane defaults.
func (c *Config) normalizeAddrs() error { func (c *Config) normalizeAddrs() error {
c.Addresses.HTTP = normalizeBind(c.Addresses.HTTP, c.BindAddr) c.Addresses.HTTP = normalizeBind(c.Addresses.HTTP, c.BindAddr)
c.Addresses.RPC = normalizeBind(c.Addresses.RPC, c.BindAddr) c.Addresses.RPC = normalizeBind(c.Addresses.RPC, c.BindAddr)