Skip to content

Commit

Permalink
Fix error message for idx = 0 for dgraph zero (#6198) (#6199)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rahul Gurnani authored Aug 17, 2020
1 parent a833386 commit e3bdbe2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dgraph/cmd/zero/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ func run() {
}

if opts.nodeId == 0 {
log.Fatalf("ERROR: Cannot idx flag cannot be 0. Please try again with idx as a positive integer")
log.Fatalf("ERROR: idx flag cannot be 0. Please try again with idx as a positive integer")
}

x.WorkerConfig = x.WorkerOptions{
Expand Down

0 comments on commit e3bdbe2

Please sign in to comment.