From 1cec5da46185fc9348698051fd8ddef259f3d7f5 Mon Sep 17 00:00:00 2001 From: ben hockey Date: Thu, 7 May 2015 11:05:26 -0500 Subject: [PATCH] call ParseConfigFile with path from restore command fixes #2506 --- cmd/influxd/restore.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/influxd/restore.go b/cmd/influxd/restore.go index 00c5547fd9..6881c84f72 100644 --- a/cmd/influxd/restore.go +++ b/cmd/influxd/restore.go @@ -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)