summaryrefslogtreecommitdiff
path: root/config.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-10-25 07:24:41 -0500
committerJeff Carr <[email protected]>2024-10-25 07:24:41 -0500
commit03eec1461952f94e924975469576331975095f19 (patch)
treea4d55ce0a8d0d152751c2a43004660a93a8c8f13 /config.go
parentda2a24c549a6ffe940709b1eabd4c0a44aff3972 (diff)
try writing out events
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'config.go')
-rw-r--r--config.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/config.go b/config.go
index cff7a6e..dbcbdf1 100644
--- a/config.go
+++ b/config.go
@@ -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 {