0
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-30 22:34:15 -05:00

testing: sort force-automated hosts (#6756)

This commit is contained in:
Mohammed Al Sahaf 2024-12-30 13:38:29 +03:00 committed by GitHub
parent afa778ae05
commit f2c17d1f3f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -423,6 +423,7 @@ func (st ServerType) buildTLSApp(
}
al = append(al, name)
}
slices.Sort(al) // to stabilize the adapt output
if len(al) > 0 {
tlsApp.CertificatesRaw["automate"] = caddyconfig.JSON(al, &warnings)
}