Skip to content

Commit

Permalink
Update HostValid.java to update the warning message. (#1)
Browse files Browse the repository at this point in the history
Signed-off-by: ldysdu <ldysdu@163.com>
  • Loading branch information
ldysdu authored Dec 28, 2023
1 parent c6ddb08 commit 580e773
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
@Constraint(validatedBy = HostParamValidator.class)
public @interface HostValid {

String message() default "Host need ipv4,ipv6 or domain,<br>EG:127.0.0.1 hertzbeat.com";
String message() default "Host need ipv4,ipv6,hostname or domain,<br>EG:127.0.0.1 hertzbeat.com";

Class<?>[] groups() default {};

Expand Down

0 comments on commit 580e773

Please sign in to comment.