Sfoglia il codice sorgente

Fix spelling error

Gilbert Wong 7 anni fa
parent
commit
d7e18c95c6
2 ha cambiato i file con 3 aggiunte e 4 eliminazioni
  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
 ## bridge.aws.subscription.2.qos = 1
 
 
 ## Maximum number of messages in one batch when sending to remote borkers
 ## 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
 ##       used for internal message passing optimization as the underlying MQTT
 ##       protocol does not supports batching.
 ##       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
 ## bridge.azure.subscription.2.qos = 1
 
 
 ## Maximum number of messages in one batch when sending to remote borkers
 ## 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
 ##       used for internal message passing optimization as the underlying MQTT
 ##       protocol does not supports batching.
 ##       protocol does not supports batching.
 ##
 ##

+ 1 - 2
src/emqx_portal_connect.erl

@@ -67,6 +67,5 @@ obfuscate(Map) ->
                       end
                       end
               end, [], Map).
               end, [], Map).
 
 
-is_sensitive(passsword) -> true;
+is_sensitive(password) -> true;
 is_sensitive(_) -> false.
 is_sensitive(_) -> false.
-