mirror of
https://github.com/amir20/dozzle.git
synced 2025-12-21 21:33:18 +01:00
Uses lower to sort. Fixes #452
This commit is contained in:
@@ -113,7 +113,7 @@ func (d *dockerClient) ListContainers() ([]Container, error) {
|
||||
}
|
||||
|
||||
sort.Slice(containers, func(i, j int) bool {
|
||||
return containers[i].Name < containers[j].Name
|
||||
return strings.ToLower(containers[i].Name) < strings.ToLower(containers[j].Name)
|
||||
})
|
||||
|
||||
if containers == nil {
|
||||
|
||||
Reference in New Issue
Block a user