mirror of
https://github.com/caddyserver/caddy.git
synced 2025-03-09 07:29:03 -04:00
testing: sort force-automated hosts (#6756)
This commit is contained in:
parent
afa778ae05
commit
f2c17d1f3f
@ -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…
x
Reference in New Issue
Block a user