From be82cc7acae6c259aec176363478cdb390a989ee Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Fri, 4 Mar 2022 20:26:37 -0700 Subject: [PATCH] Appease the linter --- caddy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/caddy.go b/caddy.go index 021789488..f6768c044 100644 --- a/caddy.go +++ b/caddy.go @@ -550,7 +550,7 @@ func finishSettingUp(ctx Context, cfg *Config) error { return fmt.Errorf("loading dynamic config from %T: %v", val, err) } // do this in a goroutine so current config can finish being loaded; otherwise deadlock - go runLoadedConfig(loadedConfig) + go func() { _ = runLoadedConfig(loadedConfig) }() } }