allow 'port' field in edit monitor schema
This commit is contained in:
1 parent
b7b6724ce5
commit
2fb20bfff9
1 file changed
+1
@@ -210,6 +210,7 @@ const editMonitorBodyValidation = joi.object({
|
||||
jsonPath: joi.string().allow(""),
|
||||
expectedValue: joi.string().allow(""),
|
||||
matchMethod: joi.string(),
|
||||
port: joi.number().min(1).max(65535),
|
||||
thresholds: joi.object().keys({
|
||||
usage_cpu: joi.number(),
|
||||
usage_memory: joi.number(),
|
||||
|
||||
Reference in new issue
Block a user