reid 2 rokov pred
rodič
commit
a129ccb050
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      config/config.go

+ 1 - 1
config/config.go

@@ -179,7 +179,7 @@ func persistConf(configMap map[string]interface{}) error {
 		return fmt.Errorf("Error updating global config: %v", err)
 		return fmt.Errorf("Error updating global config: %v", err)
 	}
 	}
 	// write to disk
 	// write to disk
-	Logger.Info("Persisting configuration to disk %v",string(updatedJson))
+	Logger.Info("Persisting configuration to disk %v",string(updatedJSON))
 	if err := ioutil.WriteFile(confPath, updatedJSON, 0644); err != nil {
 	if err := ioutil.WriteFile(confPath, updatedJSON, 0644); err != nil {
 		return fmt.Errorf("Error writing to file: %v", err)
 		return fmt.Errorf("Error writing to file: %v", err)
 	}
 	}