aboutsummaryrefslogtreecommitdiffhomepage
path: root/caddy.go
diff options
context:
space:
mode:
authorMatthew Holt <[email protected]>2022-03-04 20:26:37 -0700
committerMatthew Holt <[email protected]>2022-03-04 20:26:37 -0700
commitbe82cc7acae6c259aec176363478cdb390a989ee (patch)
tree9224745b999627674a5c2a15ca54d44bd6d5d492 /caddy.go
parent2bb8550a4cd59575ea7cc7c507550b9bd079894f (diff)
downloadcaddy-be82cc7acae6c259aec176363478cdb390a989ee.tar.gz
caddy-be82cc7acae6c259aec176363478cdb390a989ee.zip
Appease the linter
Diffstat (limited to 'caddy.go')
-rw-r--r--caddy.go2
1 files changed, 1 insertions, 1 deletions
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) }()
}
}