From 778dfeffc4d44ae4d9098d0ef4b46ac75ade4e50 Mon Sep 17 00:00:00 2001 From: Michael Schurter Date: Wed, 9 Nov 2016 15:51:00 -0800 Subject: [PATCH] Fix comment --- command/agent/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/command/agent/config.go b/command/agent/config.go index e9b1cdfe8..95f26b21a 100644 --- a/command/agent/config.go +++ b/command/agent/config.go @@ -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)