From 388ef7f6afd4a855358e33fc3ade24be9579d59f Mon Sep 17 00:00:00 2001 From: Sean Chittenden Date: Mon, 13 Jun 2016 18:14:50 -0700 Subject: [PATCH] Drive-by comment correction --- command/agent/consul/syncer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/agent/consul/syncer.go b/command/agent/consul/syncer.go index 76bcfcd8d..644715512 100644 --- a/command/agent/consul/syncer.go +++ b/command/agent/consul/syncer.go @@ -158,7 +158,7 @@ func NewSyncer(consulConfig *config.ConsulConfig, shutdownCh chan struct{}, logg cfg := consul.DefaultConfig() - // If a nil config was provided, fall back to the default config + // If a nil consulConfig was provided, fall back to the default config if consulConfig == nil { consulConfig = cconfig.DefaultConfig().ConsulConfig }