call ParseConfigFile with path from restore command

fixes #2506
pull/2509/head
ben hockey 2015-05-07 11:05:26 -05:00
parent b8cf01dd4a
commit 1cec5da461
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ func (cmd *RestoreCommand) parseFlags(args []string) (*Config, string, error) {
config, err = NewTestConfig()
log.Println("No config provided, using default settings")
} else {
config, err = ParseConfig(*configPath)
config, err = ParseConfigFile(*configPath)
}
if err != nil {
log.Fatal(err)