summaryrefslogtreecommitdiffstats
path: root/app/app.go
diff options
context:
space:
mode:
Diffstat (limited to 'app/app.go')
-rw-r--r--app/app.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/app.go b/app/app.go
index 911d359ae..96b9b6d13 100644
--- a/app/app.go
+++ b/app/app.go
@@ -184,7 +184,6 @@ func New(options ...Option) (outApp *App, outErr error) {
})
})
- app.regenerateClientConfig()
mlog.Info("Server is initializing...")
@@ -207,6 +206,9 @@ func New(options ...Option) (outApp *App, outErr error) {
return nil, errors.Wrapf(err, "unable to ensure asymmetric signing key")
}
+ app.EnsureDiagnosticId()
+ app.regenerateClientConfig()
+
app.initJobs()
app.AddLicenseListener(func() {
app.initJobs()