DBZ-1247 Using isNonNegativeInteger instead of isPositiveInteger
This commit is contained in:
parent
3ca47b1055
commit
2c79d901c5
@ -300,7 +300,7 @@ public static SnapshotMode parse(String value, String defaultValue) {
|
||||
.withImportance(Importance.MEDIUM)
|
||||
.withDescription("The maximum number of documents that should be loaded into memory while performing a snapshot")
|
||||
.withDefault(0)
|
||||
.withValidation(Field::isPositiveInteger);
|
||||
.withValidation(Field::isNonNegativeInteger);
|
||||
|
||||
protected static final Field TASK_ID = Field.create("mongodb.task.id")
|
||||
.withDescription("Internal use only")
|
||||
|
Loading…
Reference in New Issue
Block a user