Skip to content

Commit

Permalink
fix: skip knxlistener when writing the sample config (influxdata#10131)
Browse files Browse the repository at this point in the history
  • Loading branch information
reimda authored Nov 18, 2021
1 parent 4a03973 commit 8710d23
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 8710d23

Please sign in to comment.