Browse Source

Fix spelling error

Gilbert Wong 7 years ago
parent
commit
d7e18c95c6
2 changed files with 3 additions and 4 deletions
  1. 2 2
      etc/emqx.conf
  2. 1 2
      src/emqx_portal_connect.erl

+ 2 - 2
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.
 ##

+ 1 - 2
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.
-