mirror of
https://github.com/caddyserver/caddy.git
synced 2025-01-06 22:40:31 -05:00
noot
This commit is contained in:
parent
841fe2544d
commit
926fb82f6b
1 changed files with 1 additions and 1 deletions
|
@ -201,7 +201,7 @@ func (tc *Tester) startServer() error {
|
|||
|
||||
// start inprocess caddy server
|
||||
go func() {
|
||||
caddycmd.MainForTesting("run", "--config", tc.configFileName, "--adapter", "caddyfile")
|
||||
caddycmd.MainForTesting("caddy", "run", "--config", tc.configFileName, "--adapter", "caddyfile")
|
||||
}()
|
||||
// wait for caddy admin api to start. it should happen quickly.
|
||||
for retries := 10; retries > 0 && isCaddyAdminRunning() != nil; retries-- {
|
||||
|
|
Loading…
Reference in a new issue