浏览代码

auth work

reid 2 年之前
父节点
当前提交
8429e11b17
共有 1 个文件被更改,包括 1 次插入1 次删除
  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)
 	}