mirror of
https://github.com/caddyserver/caddy.git
synced 2025-01-13 22:51:08 -05:00
testing: sort force-automated hosts (#6756)
This commit is contained in:
parent
afa778ae05
commit
f2c17d1f3f
1 changed files with 1 additions and 0 deletions
|
@ -423,6 +423,7 @@ func (st ServerType) buildTLSApp(
|
||||||
}
|
}
|
||||||
al = append(al, name)
|
al = append(al, name)
|
||||||
}
|
}
|
||||||
|
slices.Sort(al) // to stabilize the adapt output
|
||||||
if len(al) > 0 {
|
if len(al) > 0 {
|
||||||
tlsApp.CertificatesRaw["automate"] = caddyconfig.JSON(al, &warnings)
|
tlsApp.CertificatesRaw["automate"] = caddyconfig.JSON(al, &warnings)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue