fix: skip knxlistener when writing the sample config (#10131)
This commit is contained in:
parent
4a0397342a
commit
8710d2353e
|
|
@ -560,9 +560,13 @@ func printFilteredInputs(inputFilters []string, commented bool) {
|
||||||
|
|
||||||
// Print Inputs
|
// Print Inputs
|
||||||
for _, pname := range pnames {
|
for _, pname := range pnames {
|
||||||
|
// Skip inputs that are registered twice for backward compatibility
|
||||||
if pname == "cisco_telemetry_gnmi" {
|
if pname == "cisco_telemetry_gnmi" {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
if pname == "KNXListener" {
|
||||||
|
continue
|
||||||
|
}
|
||||||
creator := inputs.Inputs[pname]
|
creator := inputs.Inputs[pname]
|
||||||
input := creator()
|
input := creator()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue