Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Commit

Permalink
Merge pull request #3612 from charybr/patch-1
Browse files Browse the repository at this point in the history
Issue-3611: TaskDef validation: Print actual value that is being validated
  • Loading branch information
v1r3n authored May 16, 2023
2 parents 5bcd22a + c698dc0 commit b81a5cc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public enum RetryLogic {

@ProtoField(id = 3)
@Min(value = 0, message = "TaskDef retryCount: {value} must be >= 0")
@Max(value = 10, message = "TaskDef retryCount: {value} must be <=10")
@Max(value = 10, message = "TaskDef retryCount: ${validatedValue} must be <= {value}")
private int retryCount = 3; // Default

@ProtoField(id = 4)
Expand Down

0 comments on commit b81a5cc

Please sign in to comment.