diff options
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -48,7 +48,7 @@ func main() { me.unstableTimeout = 17 * time.Second // how long the cluster must be stable before new droplets can be started - me.clusterStableDuration = 37 * time.Second + me.clusterStableDuration = 37 * time.Second // read in the config file me.cluster = new(pb.Cluster) @@ -72,7 +72,10 @@ func main() { var newEvents []*pb.Event // sanity check the cluster & droplets - ValidateDroplets(me.cluster, false) + if err := ValidateDroplets(me.cluster); err != nil { + log.Info("todo: add flag to ignore. for now, fix problems in the config file.") + os.Exit(0) + } newe := ValidateDiskFilenames(me.cluster) for _, e := range newe { newEvents = append(newEvents, e) |
