Skip to content

Commit f736596

Browse files
committed
fix config flag for darknode deployment
1 parent 56c4c7f commit f736596

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/provider/provider.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ func initNode(ctx *cli.Context) error {
152152
var conf darknode.Config
153153
if configFile != "" {
154154
var err error
155-
conf, err = darknode.NewConfigFromJSONFile(path)
155+
conf, err = darknode.NewConfigFromJSONFile(configFile)
156156
if err != nil {
157157
return errors.New("invalid config file")
158158
}

0 commit comments

Comments
 (0)