Skip to content

Commit

Permalink
testing: sort force-automated hosts (#6756)
Browse files Browse the repository at this point in the history
  • Loading branch information
mohammed90 authored Dec 30, 2024
1 parent afa778a commit f2c17d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions caddyconfig/httpcaddyfile/tlsapp.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit f2c17d1

Please # to comment.