diff options
author | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2018-01-08 19:13:30 +0100 |
---|---|---|
committer | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2018-01-08 19:13:43 +0100 |
commit | 33ccf05a201c48bdf259275a00fe33f2be872df6 (patch) | |
tree | c22e44e3e740c9e47e3b349dd45c2caa9b253279 | |
parent | 7c9ab951706232bc958e9cfa88cbef2a40311044 (diff) |
Report XDS-server connection failure as an error.
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
-rw-r--r-- | lib/agent/webserver.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/agent/webserver.go b/lib/agent/webserver.go index e8ad033..2f24c6c 100644 --- a/lib/agent/webserver.go +++ b/lib/agent/webserver.go @@ -94,7 +94,7 @@ func (s *WebServer) Serve() error { for _, svrCfg := range s.Config.FileConf.ServersConf { if svr, err := s.api.AddXdsServer(svrCfg); err != nil { // Just log error, don't consider as critical - s.Log.Infof("Cannot connect to XDS Server url=%s: %v", svr.BaseURL, err.Error()) + s.Log.Errorf("Cannot connect to XDS Server url=%s: %v", svr.BaseURL, err.Error()) } } }() |