diff options
| author | Jeff Carr <[email protected]> | 2024-10-30 13:17:04 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-10-30 13:17:04 -0500 |
| commit | bf52632cb79e91703079765cd8a85fc9f4098e92 (patch) | |
| tree | bcf7f6453f0d1eef6f65fe42783604dc8187313a /main.go | |
| parent | 2a18f506c7e37903e58b838e52b6b6554e7e039c (diff) | |
force filenames to match hostnames
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -78,7 +78,12 @@ func main() { log.Info("todo: add flag to ignore. for now, fix problems in the config file.") os.Exit(0) } - newe := ValidateDiskFilenames(me.cluster) + newe, err := ValidateDiskFilenames(me.cluster) + if err != nil { + log.Info(err) + os.Exit(-1) + } + // this is a new droplet. add it to the cluster for _, e := range newe { newEvents = append(newEvents, e) } |
