Skip to content

Commit f2c17d1

Browse files
authored
testing: sort force-automated hosts (#6756)
1 parent afa778a commit f2c17d1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

caddyconfig/httpcaddyfile/tlsapp.go

+1
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,7 @@ func (st ServerType) buildTLSApp(
423423
}
424424
al = append(al, name)
425425
}
426+
slices.Sort(al) // to stabilize the adapt output
426427
if len(al) > 0 {
427428
tlsApp.CertificatesRaw["automate"] = caddyconfig.JSON(al, &warnings)
428429
}

0 commit comments

Comments
 (0)