mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-27 06:03:48 +03:00
Appease the linter
This commit is contained in:
parent
2bb8550a4c
commit
be82cc7aca
1 changed files with 1 additions and 1 deletions
2
caddy.go
2
caddy.go
|
@ -550,7 +550,7 @@ func finishSettingUp(ctx Context, cfg *Config) error {
|
||||||
return fmt.Errorf("loading dynamic config from %T: %v", val, err)
|
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
|
// do this in a goroutine so current config can finish being loaded; otherwise deadlock
|
||||||
go runLoadedConfig(loadedConfig)
|
go func() { _ = runLoadedConfig(loadedConfig) }()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue