From f2c17d1f3fc4d9ad6324e05bab0c29aafb23e2e1 Mon Sep 17 00:00:00 2001 From: Mohammed Al Sahaf Date: Mon, 30 Dec 2024 13:38:29 +0300 Subject: [PATCH] testing: sort force-automated hosts (#6756) --- caddyconfig/httpcaddyfile/tlsapp.go | 1 + 1 file changed, 1 insertion(+) diff --git a/caddyconfig/httpcaddyfile/tlsapp.go b/caddyconfig/httpcaddyfile/tlsapp.go index 09a862e7..71b52492 100644 --- a/caddyconfig/httpcaddyfile/tlsapp.go +++ b/caddyconfig/httpcaddyfile/tlsapp.go @@ -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) }