wayne-cheng commented on a change in pull request #4881:
URL: https://github.com/apache/apisix/pull/4881#discussion_r696530390



##########
File path: apisix/cli/file.lua
##########
@@ -112,6 +112,28 @@ local function tinyyaml_type(t)
 end
 
 
+local function path_is_multi_type(path, type_val)
+    if str_sub(path, 1, 14) == "nginx_config->" and
+            (type_val == "number" or type_val == "string") then
+        return true
+    end
+
+    if path == "apisix->node_listen" and type_val == "number" then
+        return true
+    end
+
+    if path == "apisix->ssl->listen_port" and type_val == "number" then
+        return true
+    end
+
+    if path == "apisix->ssl->listen" and type_val == "number" then

Review comment:
       ok, I have removed it, please retest. @tzssangglass 




-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to