From 4e6cc846a618ecef5c101727bbd03f6674044ab7 Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 17 Jan 2018 12:38:37 -0600 Subject: Finally remove utils.Cfg (#8113) * finally remove utils.Cfg * fix compile error * another test compilation fix --- cmd/platform/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd') diff --git a/cmd/platform/server.go b/cmd/platform/server.go index 0c23b5f27..d289898da 100644 --- a/cmd/platform/server.go +++ b/cmd/platform/server.go @@ -220,7 +220,7 @@ func doSecurity(a *app.App) { } func doDiagnostics(a *app.App) { - if *utils.Cfg.LogSettings.EnableDiagnostics { + if *a.Config().LogSettings.EnableDiagnostics { a.SendDailyDiagnostics() } } -- cgit v1.2.3-1-g7c22