summaryrefslogtreecommitdiffstats
path: root/lib/xdsconfig/config.go
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2017-11-30 11:15:14 +0100
committerSebastien Douheret <sebastien.douheret@iot.bzh>2017-11-30 11:15:14 +0100
commit0ddbe56c19c6fc820bc7011abc22c371c9244d88 (patch)
tree838840d6345ef581f511c8ed3d603c2c741ac863 /lib/xdsconfig/config.go
parenta3e2b91e4961f2a5979b2380dce41d68ec0e03c5 (diff)
Create server data directory when not existing.
Diffstat (limited to 'lib/xdsconfig/config.go')
-rw-r--r--lib/xdsconfig/config.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/xdsconfig/config.go b/lib/xdsconfig/config.go
index 0201d40..ae02577 100644
--- a/lib/xdsconfig/config.go
+++ b/lib/xdsconfig/config.go
@@ -54,6 +54,7 @@ func Init(cliCtx *cli.Context, log *logrus.Logger) (*Config, error) {
dfltSTHomeDir = resDir
}
+ // Retrieve Server ID (or create one the first time)
uuid, err := ServerIDGet()
if err != nil {
return nil, err