sanity
This commit is contained in:
parent
7ac7382719
commit
a9454af71b
@ -100,6 +100,10 @@ func main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func renderAddons(cluster *clustersconfig.Cluster) string {
|
func renderAddons(cluster *clustersconfig.Cluster) string {
|
||||||
|
if len(cluster.Addons) == 0 {
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
addons := src.Addons[cluster.Addons]
|
addons := src.Addons[cluster.Addons]
|
||||||
if addons == nil {
|
if addons == nil {
|
||||||
log.Fatalf("cluster %q: no addons with name %q", cluster.Name, cluster.Addons)
|
log.Fatalf("cluster %q: no addons with name %q", cluster.Name, cluster.Addons)
|
||||||
|
@ -8,8 +8,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
dataDir = flag.String("data", "/var/lib/direktil", "Data dir")
|
dataDir = flag.String("data", "/var/lib/direktil", "Data dir")
|
||||||
configFromDir = flag.String("config-from-dir", "", "Build configuration from this directory")
|
|
||||||
)
|
)
|
||||||
|
|
||||||
func configFilePath() string {
|
func configFilePath() string {
|
||||||
|
Loading…
Reference in New Issue
Block a user