Skip to content

Commit

Permalink
fix: log message in registerMqttConnectionProvider (#1544)
Browse files Browse the repository at this point in the history
  • Loading branch information
gregbreen authored Oct 11, 2023
1 parent 2892a7c commit 0203c8e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public void registerCryptoKeyProvider(CryptoKeySpi keyProvider) throws ServicePr
*/
public void registerMqttConnectionProvider(MqttConnectionSpi mqttProvider) throws ServiceProviderConflictException {
CaseInsensitiveString keyType = new CaseInsensitiveString(mqttProvider.supportedKeyType());
logger.atInfo().kv(KEY_TYPE, keyType).log("Register crypto key service provider");
logger.atInfo().kv(KEY_TYPE, keyType).log("Register MQTT connection security provider");
MqttConnectionSpi provider = mqttConnectionProviderMap.computeIfAbsent(keyType, k -> mqttProvider);
if (!provider.equals(mqttProvider)) {
throw new ServiceProviderConflictException(String.format("Key type %s mqtt connection provider is "
Expand Down

0 comments on commit 0203c8e

Please sign in to comment.