fix: skip knxlistener when writing the sample config (#10131)

This commit is contained in:
reimda 2021-11-18 13:56:18 -07:00 committed by GitHub
parent 4a0397342a
commit 8710d2353e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -560,9 +560,13 @@ func printFilteredInputs(inputFilters []string, commented bool) {
// Print Inputs
for _, pname := range pnames {
// Skip inputs that are registered twice for backward compatibility
if pname == "cisco_telemetry_gnmi" {
continue
}
if pname == "KNXListener" {
continue
}
creator := inputs.Inputs[pname]
input := creator()