mirror of
https://github.com/caddyserver/caddy.git
synced 2024-11-22 11:33:06 +08:00
Appease the linter
This commit is contained in:
parent
2bb8550a4c
commit
be82cc7aca
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 New Issue
Block a user