AlinsRan commented on code in PR #12624:
URL: https://github.com/apache/apisix/pull/12624#discussion_r2387001442


##########
apisix/admin/init.lua:
##########
@@ -235,7 +235,7 @@ local function run()
     end
 
     if code then
-        if method == "get" and plugin.enable_data_encryption then
+        if code == 200 and method == "get" and plugin.enable_gde() then

Review Comment:
   Why specify 200?
    Creating resources will return 201.



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