aboutsummaryrefslogtreecommitdiffstats
path: root/lib/agent/apiv1.go
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2017-11-29 11:06:15 +0100
committerSebastien Douheret <sebastien.douheret@iot.bzh>2017-11-29 15:24:28 +0100
commit32791ffed5bdfaa698e90f9c067dc6e8ababbfc3 (patch)
treeb537f4607f54b43c9d994a4f7d32f18d84d2962b /lib/agent/apiv1.go
parent7c7d90a781082c6bd22d12a5e2451ca61a5198af (diff)
Fixed /exec input stream and /signal.
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'lib/agent/apiv1.go')
-rw-r--r--lib/agent/apiv1.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/agent/apiv1.go b/lib/agent/apiv1.go
index 36e5a54..1051f2a 100644
--- a/lib/agent/apiv1.go
+++ b/lib/agent/apiv1.go
@@ -84,7 +84,7 @@ func (s *APIService) AddXdsServer(cfg xdsconfig.XDSServerConf) (*XdsServer, erro
cfg.APIBaseURL = apiBaseURL
}
if cfg.APIPartialURL == "" {
- cfg.APIPartialURL = "/server/" + strconv.Itoa(s.serverIndex)
+ cfg.APIPartialURL = "/servers/" + strconv.Itoa(s.serverIndex)
s.serverIndex = s.serverIndex + 1
}