mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
update error text
This commit is contained in:
parent
dad7c2b255
commit
65c5ffebb0
1 changed files with 3 additions and 1 deletions
|
|
@ -169,7 +169,9 @@ fn validate(host: &Entry) -> bool {
|
||||||
0,
|
0,
|
||||||
) {
|
) {
|
||||||
Ok(_) => Ok(()),
|
Ok(_) => Ok(()),
|
||||||
Err(e) => Err(format!("Valid hostname or IP address is required: `{e}`")),
|
Err(e) => Err(format!(
|
||||||
|
"Required valid hostname, *pattern or IP address: `{e}`"
|
||||||
|
)),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue