membphis commented on a change in pull request #1914:
URL: https://github.com/apache/incubator-apisix/pull/1914#discussion_r461296225



##########
File path: apisix/schema_def.lua
##########
@@ -78,6 +78,11 @@ local health_checker = {
                 timeout = {type = "number", default = 1},
                 concurrency = {type = "integer", default = 10},
                 host = host_def,
+                port = {
+                    type = "integer",
+                    minimum = 1000,

Review comment:
       I think the minimum value should be `1`.

##########
File path: apisix/schema_def.lua
##########
@@ -78,6 +78,11 @@ local health_checker = {
                 timeout = {type = "number", default = 1},
                 concurrency = {type = "integer", default = 10},
                 host = host_def,
+                port = {
+                    type = "integer",
+                    minimum = 1000,

Review comment:
       for example the HTTP port `80` is fine.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to