Refactor package structure

Builds but not tested
This commit is contained in:
Jan Eitzinger
2022-09-05 17:46:38 +02:00
parent 26df1e7c14
commit fc76eed899
30 changed files with 1426 additions and 1027 deletions

View File

@@ -75,7 +75,7 @@ func RenderTemplate(rw http.ResponseWriter, r *http.Request, file string, page *
}
if page.Clusters == nil {
for _, c := range config.Clusters {
for _, c := range config.Keys.Clusters {
page.Clusters = append(page.Clusters, c.Name)
}
}