summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2017-12-04 11:34:57 +0100
committerSebastien Douheret <sebastien.douheret@iot.bzh>2017-12-05 11:10:35 +0100
commitaafb8edbef7a285fd4937336f31d8e06e1fa0dca (patch)
treea2d5cb79f3325270ed13cfe44712f46ceff515ce /lib
parent40d77d7b1d1b41bd1f2f5a00037d21858114e188 (diff)
Fixed default xds-agent port number and env var (XDS_AGENT_URL)
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'lib')
-rw-r--r--lib/xdsserver/apiv1-folders.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xdsserver/apiv1-folders.go b/lib/xdsserver/apiv1-folders.go
index cac83ab..009d2ce 100644
--- a/lib/xdsserver/apiv1-folders.go
+++ b/lib/xdsserver/apiv1-folders.go
@@ -74,7 +74,7 @@ func (s *APIService) addFolder(c *gin.Context) {
return
}
fd.WriteString("# XDS project settings\n")
- fd.WriteString("export XDS_SERVER_URL=" + c.Request.Host + "\n")
+ fd.WriteString("export XDS_AGENT_URL=" + c.Request.Host + "\n")
fd.WriteString("export XDS_PROJECT_ID=" + newFld.ID + "\n")
if newFld.DefaultSdk == "" {
sdks := s.sdks.GetAll()