Code Review
/
src
/
xds
/
xds-agent.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
7c9ab95
)
Report XDS-server connection failure as an error.
author
Sebastien Douheret
<sebastien.douheret@iot.bzh>
Mon, 8 Jan 2018 18:13:30 +0000
(19:13 +0100)
committer
Sebastien Douheret
<sebastien.douheret@iot.bzh>
Mon, 8 Jan 2018 18:13:43 +0000
(19:13 +0100)
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
lib/agent/webserver.go
patch
|
blob
|
history
diff --git
a/lib/agent/webserver.go
b/lib/agent/webserver.go
index
e8ad033
..
2f24c6c
100644
(file)
--- 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.
Info
f("Cannot connect to XDS Server url=%s: %v", svr.BaseURL, err.Error())
+ s.Log.
Error
f("Cannot connect to XDS Server url=%s: %v", svr.BaseURL, err.Error())
}
}
}()