Fix issue with config file saving, fix issue with state file saving, fix issue when merging a uuid into a server without one

This commit is contained in:
Matthew Penner
2020-04-10 17:55:36 -06:00
parent 4ea1b90560
commit 1f4aca8210
5 changed files with 12 additions and 47 deletions

View File

@@ -96,9 +96,9 @@ func rootCmdRun(*cobra.Command, []string) {
os.Exit(1)
}
/*if err := c.WriteToDisk(); err != nil {
if err := c.WriteToDisk(); err != nil {
zap.S().Errorw("failed to save configuration to disk", zap.Error(errors.WithStack(err)))
}*/
}
// Just for some nice log output.
for _, s := range server.GetServers().All() {