diff options
| author | Jeff Carr <[email protected]> | 2024-10-25 07:24:41 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-10-25 07:24:41 -0500 |
| commit | 03eec1461952f94e924975469576331975095f19 (patch) | |
| tree | a4d55ce0a8d0d152751c2a43004660a93a8c8f13 /config.go | |
| parent | da2a24c549a6ffe940709b1eabd4c0a44aff3972 (diff) | |
try writing out events
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'config.go')
| -rw-r--r-- | config.go | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -120,6 +120,22 @@ func writeConfigFile() { log.Println("config file write error") os.Exit(-1) } + + if me.events.WriteConfigJSON() { + os.Exit(-1) + } + if me.events.WriteConfigTEXT() { + os.Exit(-1) + } + + /* + if me.cluster.Droplets.WriteConfigJSON() { + os.Exit(-1) + } + if me.cluster.Droplets.WriteConfigTEXT() { + os.Exit(-1) + } + */ } func writeConfigFileTmp(filename string) bool { |
