aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2017-12-07 17:47:02 +0100
committerSebastien Douheret <sebastien.douheret@iot.bzh>2017-12-07 17:48:24 +0100
commitbdad560b10561898ff8cd1b7134c330b2a2721de (patch)
tree082e29335e4609b23aeae4c642cc6b462821da70
parent8eec65457e532c0e6a9721e3c6df9a6a9489d96f (diff)
Fixed default agent URL port (set to 8800)
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
-rw-r--r--.vscode/launch.json7
-rw-r--r--main.go2
2 files changed, 5 insertions, 4 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json
index 5fc6380..6e0c820 100644
--- a/.vscode/launch.json
+++ b/.vscode/launch.json
@@ -2,7 +2,7 @@
"version": "0.2.0",
"configurations": [
- {
+ {
"name": "xds-gdb help",
"type": "go",
"request": "launch",
@@ -22,12 +22,13 @@
"mode": "debug",
"program": "${workspaceRoot}",
"env": {
- "GOPATH": "${workspaceRoot}/../../../..:${env:GOPATH}"
+ "GOPATH": "${workspaceRoot}/../../../..:${env:GOPATH}",
+ "XDS_LOGLEVEL": "debug"
},
"args": ["-x", "${workspaceRoot}/__config/gdb-on-target.ini", "-nx"],
"showLog": false
},
- {
+ {
"name": "xds-gdb TTY",
"type": "go",
"request": "launch",
diff --git a/main.go b/main.go
index 4cc05e6..3df9e1a 100644
--- a/main.go
+++ b/main.go
@@ -107,7 +107,7 @@ func main() {
log.Out = fdL
log.Level = logrus.DebugLevel
- agentURL = "localhost:8000"
+ agentURL = "localhost:8800"
logLevel = defaultLogLevel
// Create a new App instance