reid %!s(int64=2) %!d(string=hai) anos
pai
achega
8429e11b17
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)
 	}
 	// write to disk
-	config.Logger.Info("Persisting configuration to disk")
+	Logger.Info("Persisting configuration to disk")
 	if err := ioutil.WriteFile(confPath, updatedJSON, 0644); err != nil {
 		return fmt.Errorf("Error writing to file: %v", err)
 	}