Skip to content

Commit

Permalink
Fix best-effort flag name in dgraph increment tool.
Browse files Browse the repository at this point in the history
"bo" did not create a best-effort query.
  • Loading branch information
danielmai committed Mar 20, 2019
1 parent 1cca801 commit d386fa5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dgraph/cmd/counter/increment.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ func init() {
flag.String("addr", "localhost:9080", "Address of Dgraph alpha.")
flag.Int("num", 1, "How many times to run.")
flag.Bool("ro", false, "Only read the counter value, don't update it.")
flag.Bool("be", false, "Read counter value without retrieving timestamp from Zero.")
flag.Duration("wait", 0*time.Second, "How long to wait.")
flag.String("pred", "counter.val", "Predicate to use for storing the counter.")
}
Expand Down

0 comments on commit d386fa5

Please sign in to comment.