Skip to content

Commit

Permalink
Halp... me...
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Lord <mattalord@gmail.com>
  • Loading branch information
mattlord committed Dec 14, 2023
1 parent 515ce0a commit 90507a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions go/cmd/vtctldclient/command/vreplication/vdiff/vdiff.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,9 @@ var (
createOptions.Tables[i] = strings.TrimSpace(table)
}
}
// Enforce non-negative values for limits and max values.
// Enforce non-negative values for limits and max options.
if createOptions.Limit < 1 {
return fmt.Errorf("--limit must be a positive value of at least 1")
return fmt.Errorf("--limit must be a positive value")
}
if createOptions.MaxReportSampleRows < 0 {
return fmt.Errorf("--max-report-sample-rows must not be a negative value")
Expand Down

0 comments on commit 90507a7

Please sign in to comment.