Skip to content

Commit

Permalink
fix: Make telegraf compile on Windows with golang 1.16.2 (#10246)
Browse files Browse the repository at this point in the history
(cherry picked from commit 31cbd2e)
  • Loading branch information
srebhan authored and reimda committed Jan 27, 2022
1 parent 30d981d commit 6aa6bf0
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions plugins/inputs/modbus/configuration.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
//go:build !openbsd
// +build !openbsd

package modbus

Expand Down
1 change: 1 addition & 0 deletions plugins/inputs/modbus/configuration_original.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
//go:build !openbsd
// +build !openbsd

package modbus

Expand Down
1 change: 1 addition & 0 deletions plugins/inputs/modbus/modbus.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
//go:build !openbsd
// +build !openbsd

package modbus

Expand Down
1 change: 1 addition & 0 deletions plugins/inputs/modbus/modbus_openbsd.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build openbsd
// +build openbsd

package modbus
1 change: 1 addition & 0 deletions plugins/inputs/modbus/modbus_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
//go:build !openbsd
// +build !openbsd

package modbus

Expand Down
1 change: 1 addition & 0 deletions plugins/inputs/modbus/request.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
//go:build !openbsd
// +build !openbsd

package modbus

Expand Down
1 change: 1 addition & 0 deletions plugins/inputs/modbus/type_conversions.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
//go:build !openbsd
// +build !openbsd

package modbus

Expand Down
1 change: 1 addition & 0 deletions plugins/inputs/modbus/type_conversions16.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
//go:build !openbsd
// +build !openbsd

package modbus

Expand Down
1 change: 1 addition & 0 deletions plugins/inputs/modbus/type_conversions32.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
//go:build !openbsd
// +build !openbsd

package modbus

Expand Down
1 change: 1 addition & 0 deletions plugins/inputs/modbus/type_conversions64.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
//go:build !openbsd
// +build !openbsd

package modbus

Expand Down

0 comments on commit 6aa6bf0

Please sign in to comment.