You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by we...@apache.org on 2019/12/19 23:43:30 UTC

[incubator-apisix] branch master updated: bug: missing comma. (#989)

This is an automated email from the ASF dual-hosted git repository.

wenming pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-apisix.git


The following commit(s) were added to refs/heads/master by this push:
     new 41ce629  bug: missing comma. (#989)
41ce629 is described below

commit 41ce62904aa0ba7109ecb054073281e438a76aba
Author: agile6v <ag...@agile6v.com>
AuthorDate: Fri Dec 20 07:43:22 2019 +0800

    bug: missing comma. (#989)
---
 lua/apisix/stream/plugins/mqtt-proxy.lua | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lua/apisix/stream/plugins/mqtt-proxy.lua b/lua/apisix/stream/plugins/mqtt-proxy.lua
index b5e27a4..439eee2 100644
--- a/lua/apisix/stream/plugins/mqtt-proxy.lua
+++ b/lua/apisix/stream/plugins/mqtt-proxy.lua
@@ -144,13 +144,13 @@ function _M.preread(conf, ctx)
     end
 
     if res.protocol and res.protocol ~= conf.protocol_name then
-        core.log.error("expect protocol name: ", conf.protocol_name
+        core.log.error("expect protocol name: ", conf.protocol_name,
                        ", but got ", res.protocol)
         return ngx_exit(1)
     end
 
     if res.protocol_ver and res.protocol_ver ~= conf.protocol_level then
-        core.log.error("expect protocol level: ", conf.protocol_level
+        core.log.error("expect protocol level: ", conf.protocol_level,
                        ", but got ", res.protocol_ver)
         return ngx_exit(1)
     end