style: fix prettier formatting in validation.js
This commit is contained in:
1 parent
c445463c0c
commit
ba757b9aa4
1 file changed
+3
-1
@@ -130,7 +130,9 @@ const monitorValidation = joi.object({
|
|||||||
then: joi
|
then: joi
|
||||||
.string()
|
.string()
|
||||||
.trim()
|
.trim()
|
||||||
.regex(/^(\/+)?([a-zA-Z0-9][a-zA-Z0-9_.-]*[a-zA-Z0-9]|[a-zA-Z0-9]+|[a-f0-9]{12,64})$/)
|
.regex(
|
||||||
|
/^(\/+)?([a-zA-Z0-9][a-zA-Z0-9_.-]*[a-zA-Z0-9]|[a-zA-Z0-9]+|[a-f0-9]{12,64})$/
|
||||||
|
)
|
||||||
.messages({
|
.messages({
|
||||||
"string.empty": "This field is required.",
|
"string.empty": "This field is required.",
|
||||||
"string.pattern.base": "Please enter a valid container name or ID.",
|
"string.pattern.base": "Please enter a valid container name or ID.",
|
||||||
|
|||||||
Reference in new issue
Block a user