summaryrefslogtreecommitdiff
path: root/config.go
diff options
context:
space:
mode:
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 {