mirror of
https://github.com/minio/minio.git
synced 2025-11-09 05:34:56 -05:00
Preserve client sent config appropriately (#8566)
This commit is contained in:
committed by
kannappanr
parent
c3771df641
commit
0a56e33ce1
@@ -564,6 +564,7 @@ func GetNotifyMQTT(mqttKVS map[string]config.KVS, rootCAs *x509.CertPool) (map[s
|
||||
if k != config.Default {
|
||||
brokerEnv = brokerEnv + config.Default + k
|
||||
}
|
||||
|
||||
brokerURL, err := xnet.ParseURL(env.Get(brokerEnv, kv.Get(target.MqttBroker)))
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
||||
Reference in New Issue
Block a user