Skip to content

Commit

Permalink
update comments on positive counts for history
Browse files Browse the repository at this point in the history
  • Loading branch information
Will-Lo committed Dec 18, 2024
1 parent 96bb9c1 commit 0bfeac6
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ public class History {
description = "Time period in count <granularity> to keep the snapshot history on the table",
example = "3,4,5")
@PositiveOrZero(
message = "Incorrect count specified. retention.maxAge has to be a positive integer")
message =
"Incorrect count specified. retention.maxAge has to be a positive integer or zero if undefined")
@Valid
int maxAge;

Expand All @@ -33,6 +34,7 @@ public class History {
"Number of snapshots to keep within history for the table after snapshot expiration",
example = "3,4,5")
@PositiveOrZero(
message = "Incorrect count specified. history.versions has to be a positive integer")
message =
"Incorrect count specified. history.versions has to be a positive integer or zero if undefined")
int versions;
}

0 comments on commit 0bfeac6

Please sign in to comment.