summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2022-03-04 20:26:37 -0700
committerMatthew Holt <mholt@users.noreply.github.com>2022-03-04 20:26:37 -0700
commitbe82cc7acae6c259aec176363478cdb390a989ee (patch)
tree9224745b999627674a5c2a15ca54d44bd6d5d492
parent2bb8550a4cd59575ea7cc7c507550b9bd079894f (diff)
Appease the linter
-rw-r--r--caddy.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/caddy.go b/caddy.go
index 0217894..f6768c0 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) }()
}
}