We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 56c4c7f commit f736596Copy full SHA for f736596
1 file changed
cmd/provider/provider.go
@@ -152,7 +152,7 @@ func initNode(ctx *cli.Context) error {
152
var conf darknode.Config
153
if configFile != "" {
154
var err error
155
- conf, err = darknode.NewConfigFromJSONFile(path)
+ conf, err = darknode.NewConfigFromJSONFile(configFile)
156
if err != nil {
157
return errors.New("invalid config file")
158
}
0 commit comments