mirror of
https://github.com/kemko/nomad.git
synced 2026-01-04 17:35:43 +03:00
Drive-by comment correction
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user