fix: Remove unnecessary type conversions (#176)

This commit is contained in:
Bo-Yi Wu
2017-01-27 18:19:39 +08:00
committed by GitHub
parent 962c033246
commit f155e20fa2
3 changed files with 4 additions and 4 deletions

View File

@@ -176,7 +176,7 @@ func LoadConfYaml(confPath string) (ConfYaml, error) {
return config, err
}
err = yaml.Unmarshal([]byte(configFile), &config)
err = yaml.Unmarshal(configFile, &config)
if err != nil {
return config, err