From d7e18c95c69e6ade69b99195a7e835e2d655de66 Mon Sep 17 00:00:00 2001 From: Gilbert Wong Date: Tue, 19 Feb 2019 10:10:05 +0800 Subject: [PATCH] Fix spelling error --- etc/emqx.conf | 4 ++-- src/emqx_portal_connect.erl | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/etc/emqx.conf b/etc/emqx.conf index 554238f2c..889ad4357 100644 --- a/etc/emqx.conf +++ b/etc/emqx.conf @@ -1695,7 +1695,7 @@ listener.wss.external.ciphers = ECDHE-ECDSA-AES256-GCM-SHA384,ECDHE-RSA-AES256-G ## bridge.aws.subscription.2.qos = 1 ## Maximum number of messages in one batch when sending to remote borkers -## NOTE: when bridging viar MQTT connection to remote broker, this config is only +## NOTE: when bridging via MQTT connection to remote broker, this config is only ## used for internal message passing optimization as the underlying MQTT ## protocol does not supports batching. ## @@ -1848,7 +1848,7 @@ listener.wss.external.ciphers = ECDHE-ECDSA-AES256-GCM-SHA384,ECDHE-RSA-AES256-G ## bridge.azure.subscription.2.qos = 1 ## Maximum number of messages in one batch when sending to remote borkers -## NOTE: when bridging viar MQTT connection to remote broker, this config is only +## NOTE: when bridging via MQTT connection to remote broker, this config is only ## used for internal message passing optimization as the underlying MQTT ## protocol does not supports batching. ## diff --git a/src/emqx_portal_connect.erl b/src/emqx_portal_connect.erl index 79ec077e8..f0b7474a5 100644 --- a/src/emqx_portal_connect.erl +++ b/src/emqx_portal_connect.erl @@ -67,6 +67,5 @@ obfuscate(Map) -> end end, [], Map). -is_sensitive(passsword) -> true; +is_sensitive(password) -> true; is_sensitive(_) -> false. -