mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2026-01-15 17:21:46 +01:00
fix clustername array init size
This commit is contained in:
@@ -261,7 +261,7 @@ func RenderTemplate(rw http.ResponseWriter, file string, page *Page) {
|
||||
}
|
||||
|
||||
if page.Clusters == nil {
|
||||
page.Clusters = make([]string, 2)
|
||||
page.Clusters = make([]string, 0)
|
||||
}
|
||||
|
||||
if page.SubClusters == nil {
|
||||
|
||||
Reference in New Issue
Block a user