You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/11/17 15:39:05 UTC

[GitHub] [apisix] Firstsawyou commented on a change in pull request #2776: feat(proxy-cache): the cache_zone field in the schema should be optional

Firstsawyou commented on a change in pull request #2776:
URL: https://github.com/apache/apisix/pull/2776#discussion_r525260555



##########
File path: apisix/plugins/proxy-cache.lua
##########
@@ -34,7 +34,8 @@ local schema = {
     properties = {
         cache_zone = {
             type = "string",
-            minLength = 1
+            minLength = 1,

Review comment:
       done.

##########
File path: t/plugin/proxy-cache.t
##########
@@ -94,9 +120,9 @@ __DATA__
        }
 --- request
 GET /t
---- error_code: 400
---- response_body eval
-qr/failed to check the configuration of plugin proxy-cache/
+--- error_code: 200

Review comment:
       done.




----------------------------------------------------------------
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:
users@infra.apache.org