Fix comment

This commit is contained in:
Michael Schurter 2016-11-09 15:51:00 -08:00
parent c301e696cf
commit cb1e2d2194

View file

@ -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)