Fixed Xds-server re-connection.
authorSebastien Douheret <sebastien.douheret@iot.bzh>
Thu, 4 Jan 2018 22:42:31 +0000 (23:42 +0100)
committerSebastien Douheret <sebastien.douheret@iot.bzh>
Thu, 4 Jan 2018 22:42:33 +0000 (23:42 +0100)
commitf1083a8259b3d2f560b5f3ccb8b47c94e297d7fa
treef737d46443a30c066c29eea738a34174c64ae746
parent45f6472d1e8ecad428da314a6d762143f033865d
Fixed Xds-server re-connection.

Add a callback on XDS-Server connect in order to properly register to
XDS Server events in all cases (IOW on reconnection).

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
lib/agent/apiv1.go
lib/agent/projects.go
lib/agent/xdsserver.go
lib/xaapiv1/sdks.go