mirror of
https://github.com/caddyserver/caddy.git
synced 2024-11-22 11:33:06 +08:00
httpcaddyfile: Sort Caddyfile slice
Makes list deterministic. See #5538
This commit is contained in:
parent
cbf16f6d9e
commit
ca14b6edd9
|
@ -173,6 +173,7 @@ func (h Helper) Caddyfiles() []string {
|
|||
for file := range files {
|
||||
filesSlice = append(filesSlice, file)
|
||||
}
|
||||
sort.Strings(filesSlice)
|
||||
return filesSlice
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user