httpcaddyfile: Fix sorting of repeated directives

Fixes #5037
This commit is contained in:
Matthew Holt
2022-09-13 13:43:21 -06:00
parent 20d487be57
commit 754fe4f7b4
4 changed files with 49 additions and 20 deletions

View File

@ -100,7 +100,7 @@ func (tc *Tester) InitServer(rawConfig string, configType string) {
tc.t.Fail()
}
if err := tc.ensureConfigRunning(rawConfig, configType); err != nil {
tc.t.Logf("failed ensurng config is running: %s", err)
tc.t.Logf("failed ensuring config is running: %s", err)
tc.t.Fail()
}
}