Code Review
/
src
/
xds
/
xds-agent.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add LowCollector & rename Supervisor to Monitoring
[src/xds/xds-agent.git]
/
lib
/
xdsconfig
/
config.go
diff --git
a/lib/xdsconfig/config.go
b/lib/xdsconfig/config.go
index
93c8f4b
..
6a5e750
100644
(file)
--- a/
lib/xdsconfig/config.go
+++ b/
lib/xdsconfig/config.go
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (C) 2017-201
8
"IoT.bzh"
+ * Copyright (C) 2017-201
9
"IoT.bzh"
* Author Sebastien Douheret <sebastien@iot.bzh>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* Author Sebastien Douheret <sebastien@iot.bzh>
*
* Licensed under the Apache License, Version 2.0 (the "License");
@@
-92,10
+92,14
@@
func Init(ctx *cli.Context, log *logrus.Logger) (*Config, error) {
Home: defaultSTHomeDir,
},
ProfileConf: ProfileConfT{
Home: defaultSTHomeDir,
},
ProfileConf: ProfileConfT{
- XDS
Binder: XDSBinder
Conf{
+ XDS
Monitoring: XDSMonitoring
Conf{
URL: "http://localhost:8810",
ConnRetry: 10,
},
URL: "http://localhost:8810",
ConnRetry: 10,
},
+ XDSLowCollector: XDSLowCollectorConf{
+ URL: "http://localhost:8820",
+ ConnRetry: 10,
+ },
},
},
Log: log,
},
},
Log: log,