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
Fixed /exec input stream and /signal.
[src/xds/xds-agent.git]
/
lib
/
xdsconfig
/
config.go
diff --git
a/lib/xdsconfig/config.go
b/lib/xdsconfig/config.go
index
9279a67
..
1cc48c5
100644
(file)
--- a/
lib/xdsconfig/config.go
+++ b/
lib/xdsconfig/config.go
@@
-8,9
+8,9
@@
import (
"os"
"github.com/Sirupsen/logrus"
"os"
"github.com/Sirupsen/logrus"
- "github.com/codegangsta/cli"
common "github.com/iotbzh/xds-common/golib"
uuid "github.com/satori/go.uuid"
common "github.com/iotbzh/xds-common/golib"
uuid "github.com/satori/go.uuid"
+ "github.com/urfave/cli"
)
// Config parameters (json format) of /config command
)
// Config parameters (json format) of /config command
@@
-78,6
+78,8
@@
func Init(ctx *cli.Context, log *logrus.Logger) (*Config, error) {
Log: log,
}
Log: log,
}
+ c.Log.Infoln("Agent UUID: ", uuid)
+
// config file settings overwrite default config
err = readGlobalConfig(&c, c.Options.ConfigFile)
if err != nil {
// config file settings overwrite default config
err = readGlobalConfig(&c, c.Options.ConfigFile)
if err != nil {
@@
-113,7
+115,6
@@
func Init(ctx *cli.Context, log *logrus.Logger) (*Config, error) {
}
}
}
}
- c.Log.Infoln("Agent UUID: ", uuid)
c.Log.Infoln("Logs file: ", c.Options.LogFile)
c.Log.Infoln("Logs directory: ", c.FileConf.LogsDir)
c.Log.Infoln("Logs file: ", c.Options.LogFile)
c.Log.Infoln("Logs directory: ", c.FileConf.LogsDir)