zll600 commented on code in PR #11032:
URL: https://github.com/apache/apisix/pull/11032#discussion_r1524444568
##########
apisix/cli/ops.lua:
##########
@@ -452,15 +449,14 @@ Please modify "admin_key" in conf/config.yaml .
port = 9080
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: port level enable_http2 in node_listen is
deprecated"
+ .. "from 3.9 version, and you should use
enable_http2 in "
+ .. "apisix level.", "\n")
Review Comment:
The style linter will check the length of each line of code. The error
message too long if placed on one line
--
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]