diff options
Diffstat (limited to 'config/serve.go')
-rw-r--r-- | config/serve.go | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/config/serve.go b/config/serve.go index 8b2f1cfc..6b09af6e 100644 --- a/config/serve.go +++ b/config/serve.go @@ -68,12 +68,10 @@ func ReadConfigfileServe(path, format string, configCh chan *BgpConfigSet) { }).Warningf("Can't read config file %s", path) } NEXT: - select { - case <-sigCh: - log.WithFields(log.Fields{ - "Topic": "Config", - }).Info("Reload the config file") - } + <-sigCh + log.WithFields(log.Fields{ + "Topic": "Config", + }).Info("Reload the config file") } } |