aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authora <[email protected]>2024-06-18 21:18:07 -0500
committera <[email protected]>2024-06-18 21:18:07 -0500
commit926fb82f6b65fc34193f8cba46ede8ec9e34d3e2 (patch)
treeeaa4305fd6c047673570c82e9ac7166d03ee1b2f
parent841fe2544d7e0fe7cf938c818cd6c88085ce5879 (diff)
downloadcaddy-926fb82f6b65fc34193f8cba46ede8ec9e34d3e2.tar.gz
caddy-926fb82f6b65fc34193f8cba46ede8ec9e34d3e2.zip
noot
-rw-r--r--caddytest/caddytest.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/caddytest/caddytest.go b/caddytest/caddytest.go
index 3de5b96b0..5585a9343 100644
--- a/caddytest/caddytest.go
+++ b/caddytest/caddytest.go
@@ -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-- {