soulbird commented on code in PR #6908: URL: https://github.com/apache/apisix/pull/6908#discussion_r857296810
########## t/admin/upstream-array-nodes.t: ########## @@ -450,3 +450,38 @@ GET /t {"error_msg":"invalid configuration: property \"nodes\" validation failed: object matches none of the required"} --- no_error_log [error] + + + +=== TEST 14: nodes host include ipv6 addr +--- config + location /t { + content_by_lua_block { + local t = require("lib.test_admin").test + local code, body = t('/apisix/admin/routes/1', + ngx.HTTP_PUT, + [[{ + "upstream": { + "nodes": [ + { + "host":"[::1]", Review Comment: It will not affect object's node, see here: https://github.com/apache/apisix/blob/master/apisix/schema_def.lua#L308 -- 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: notifications-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org