diff --git a/common/src/main/java/org/dromara/hertzbeat/common/support/valid/HostValid.java b/common/src/main/java/org/dromara/hertzbeat/common/support/valid/HostValid.java index 78ecd0dd9c8..ca27d46f45c 100644 --- a/common/src/main/java/org/dromara/hertzbeat/common/support/valid/HostValid.java +++ b/common/src/main/java/org/dromara/hertzbeat/common/support/valid/HostValid.java @@ -37,7 +37,7 @@ @Constraint(validatedBy = HostParamValidator.class) public @interface HostValid { - String message() default "Host need ipv4,ipv6 or domain,
EG:127.0.0.1 hertzbeat.com"; + String message() default "Host need ipv4,ipv6,hostname or domain,
EG:127.0.0.1 hertzbeat.com"; Class[] groups() default {};