fix bug: parsejson must use ptr

fix bug: parsejson must use ptr
This commit is contained in:
radioinmyhead 2017-02-16 18:20:47 +08:00 committed by GitHub
parent 77acc749e4
commit 3c1fc915d7
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ func loadConfig() (err error) {
if fileInfo.Name() == "bee.json" {
logger.Info("Loading configuration from 'bee.json'...")
err = parseJSON(path, conf)
err = parseJSON(path, &conf)
if err != nil {
logger.Errorf("Failed to parse JSON file: %s", err)
return err