前端页面
This commit is contained in:
@@ -3,7 +3,7 @@ package clusters
|
||||
import "github.com/iwind/TeaGo/maps"
|
||||
|
||||
func mockClusters() []maps.Map {
|
||||
return []maps.Map{
|
||||
clusters := []maps.Map{
|
||||
{
|
||||
"id": int64(1),
|
||||
"name": "gateway-cn-hz",
|
||||
@@ -31,6 +31,12 @@ func mockClusters() []maps.Map {
|
||||
"isOn": true,
|
||||
},
|
||||
}
|
||||
|
||||
for _, cluster := range clusters {
|
||||
applyClusterSettingsOverrides(cluster)
|
||||
}
|
||||
|
||||
return clusters
|
||||
}
|
||||
|
||||
func pickCluster(clusterId int64) maps.Map {
|
||||
|
||||
Reference in New Issue
Block a user