Skip to content

Commit

Permalink
fix: Make telegraf compile on Windows with golang 1.16.2 (influxdata#…
Browse files Browse the repository at this point in the history
  • Loading branch information
srebhan authored and powersj committed Jan 21, 2022
1 parent 2e0f13b commit 60fdc27
Show file tree
Hide file tree
Showing 11 changed files with 13 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_register.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
//go:build !openbsd
// +build !openbsd

package modbus

Expand Down
3 changes: 3 additions & 0 deletions plugins/inputs/modbus/configuration_request.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
//go:build !openbsd
// +build !openbsd

package modbus

import (
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 60fdc27

Please sign in to comment.