mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 10:17:17 +08:00
feat: 发布v2.3.16
This commit is contained in:
@@ -5,6 +5,7 @@ import (
|
||||
"fmt"
|
||||
"net"
|
||||
"net/http"
|
||||
"slices"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
@@ -79,6 +80,10 @@ func (r *containerNetworkRepo) List() ([]types.ContainerNetwork, error) {
|
||||
})
|
||||
}
|
||||
|
||||
slices.SortFunc(networks, func(a types.ContainerNetwork, b types.ContainerNetwork) int {
|
||||
return strings.Compare(a.Name, b.Name)
|
||||
})
|
||||
|
||||
return networks, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user