diff options
author | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2017-05-15 23:44:01 +0200 |
---|---|---|
committer | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2017-05-15 23:44:01 +0200 |
commit | a840678ea8b627e8a0f952c07a268e4b0be8ee9c (patch) | |
tree | 0ab9257bc2374e65a9f9c138d5e5975618f202b4 /lib/xdsconfig/fileconfig.go | |
parent | 9f6d0e831bd8fae07118ba26a61f4fdf8e8bc655 (diff) |
Update doc: add current dir in config.json discovery logic.
Diffstat (limited to 'lib/xdsconfig/fileconfig.go')
-rw-r--r-- | lib/xdsconfig/fileconfig.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/xdsconfig/fileconfig.go b/lib/xdsconfig/fileconfig.go index ed3e82d..7370ed0 100644 --- a/lib/xdsconfig/fileconfig.go +++ b/lib/xdsconfig/fileconfig.go @@ -28,7 +28,8 @@ type FileConfig struct { // Order to determine which config file is used: // 1/ from command line option: "--config myConfig.json" // 2/ $HOME/.xds/config.json file -// 3/ <xds-server executable dir>/config.json file +// 3/ <current_dir>/agent-config.json file +// 4/ <xds-server executable dir>/config.json file func updateConfigFromFile(c *Config, confFile string) error { |