Mqtt: fix config not embedded

This commit is contained in:
andig 2025-04-05 10:47:57 +02:00
parent 932de7e03f
commit 5b939b6786

View file

@ -80,8 +80,8 @@ func masked(s any) string {
}
type Mqtt struct {
mqtt.Config
Topic string `json:"topic"`
mqtt.Config `mapstructure:",squash"`
Topic string `json:"topic"`
}
// Redacted implements the redactor interface used by the tee publisher