From 0ddbe56c19c6fc820bc7011abc22c371c9244d88 Mon Sep 17 00:00:00 2001 From: Sebastien Douheret Date: Thu, 30 Nov 2017 11:15:14 +0100 Subject: Create server data directory when not existing. --- lib/xdsconfig/config.go | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/xdsconfig/config.go') 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 -- cgit 1.2.3-korg