This commit is contained in:
Mikaël Cluseau 2019-01-30 13:56:45 +11:00
parent 7ac7382719
commit a9454af71b
2 changed files with 5 additions and 2 deletions

View File

@ -100,6 +100,10 @@ func main() {
}
func renderAddons(cluster *clustersconfig.Cluster) string {
if len(cluster.Addons) == 0 {
return ""
}
addons := src.Addons[cluster.Addons]
if addons == nil {
log.Fatalf("cluster %q: no addons with name %q", cluster.Name, cluster.Addons)

View File

@ -9,7 +9,6 @@ import (
var (
dataDir = flag.String("data", "/var/lib/direktil", "Data dir")
configFromDir = flag.String("config-from-dir", "", "Build configuration from this directory")
)
func configFilePath() string {