From be20f2c78aa9c840bcd31112514e1db83d6c6281 Mon Sep 17 00:00:00 2001 From: Rahul Gurnani Date: Mon, 17 Aug 2020 12:19:29 +0530 Subject: [PATCH] Fix error message for idx = 0 for dgraph zero (#6198) --- dgraph/cmd/zero/run.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dgraph/cmd/zero/run.go b/dgraph/cmd/zero/run.go index 4c59eb28fa5..e4d62d787b1 100644 --- a/dgraph/cmd/zero/run.go +++ b/dgraph/cmd/zero/run.go @@ -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{