zll600 commented on code in PR #11032:
URL: https://github.com/apache/apisix/pull/11032#discussion_r1524383155


##########
apisix/cli/ops.lua:
##########
@@ -487,11 +482,8 @@ Please modify "admin_key" in conf/config.yaml .
             port = 9443
         end
 
-        if enable_http2 == nil then
-            enable_http2 = false
-        end
-        if enable_http2 == true then
-            enable_http2_global = true
+        if enable_http2 ~= nil then
+            util.die("ERROR: enable_http2 is deprecated, you should use 
apisix.enable_http2.", "\n")

Review Comment:
   agree, will do.



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