chore: remove stray debug println in struct publisher (#30117)
This commit is contained in:
parent
8eb719a94e
commit
6400adb532
1 changed files with 0 additions and 2 deletions
|
|
@ -136,8 +136,6 @@ func (m *MQTT) publishComplex(topic string, retained bool, payload any) {
|
|||
topic := topic
|
||||
if !mqttTagAttribute("squash", f) {
|
||||
topic = fmt.Sprintf("%s/%s", topic, strings.ToLower(f.Name[:1])+f.Name[1:])
|
||||
} else {
|
||||
println(1)
|
||||
}
|
||||
|
||||
if val.Field(i).IsZero() && jsonOmitEmpty(f) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue