diff --git a/plugins/inputs/modbus/configuration.go b/plugins/inputs/modbus/configuration.go index 8f85cf14a972e..552cc3ff63727 100644 --- a/plugins/inputs/modbus/configuration.go +++ b/plugins/inputs/modbus/configuration.go @@ -1,4 +1,5 @@ //go:build !openbsd +// +build !openbsd package modbus diff --git a/plugins/inputs/modbus/configuration_register.go b/plugins/inputs/modbus/configuration_register.go index edb6548acbb57..2e1ad34a65247 100644 --- a/plugins/inputs/modbus/configuration_register.go +++ b/plugins/inputs/modbus/configuration_register.go @@ -1,4 +1,5 @@ //go:build !openbsd +// +build !openbsd package modbus diff --git a/plugins/inputs/modbus/configuration_request.go b/plugins/inputs/modbus/configuration_request.go index d64b53a827a89..a1184606291e7 100644 --- a/plugins/inputs/modbus/configuration_request.go +++ b/plugins/inputs/modbus/configuration_request.go @@ -1,3 +1,6 @@ +//go:build !openbsd +// +build !openbsd + package modbus import ( diff --git a/plugins/inputs/modbus/modbus.go b/plugins/inputs/modbus/modbus.go index 535c5e921fb26..beb6fd0019f2d 100644 --- a/plugins/inputs/modbus/modbus.go +++ b/plugins/inputs/modbus/modbus.go @@ -1,4 +1,5 @@ //go:build !openbsd +// +build !openbsd package modbus diff --git a/plugins/inputs/modbus/modbus_openbsd.go b/plugins/inputs/modbus/modbus_openbsd.go index 6cc2bfeb3b8fd..c4df661dfbf23 100644 --- a/plugins/inputs/modbus/modbus_openbsd.go +++ b/plugins/inputs/modbus/modbus_openbsd.go @@ -1,3 +1,4 @@ //go:build openbsd +// +build openbsd package modbus diff --git a/plugins/inputs/modbus/modbus_test.go b/plugins/inputs/modbus/modbus_test.go index fe155a99654d7..e35b8bdbe0146 100644 --- a/plugins/inputs/modbus/modbus_test.go +++ b/plugins/inputs/modbus/modbus_test.go @@ -1,4 +1,5 @@ //go:build !openbsd +// +build !openbsd package modbus diff --git a/plugins/inputs/modbus/request.go b/plugins/inputs/modbus/request.go index 77fa392146097..3d5a981432f26 100644 --- a/plugins/inputs/modbus/request.go +++ b/plugins/inputs/modbus/request.go @@ -1,4 +1,5 @@ //go:build !openbsd +// +build !openbsd package modbus diff --git a/plugins/inputs/modbus/type_conversions.go b/plugins/inputs/modbus/type_conversions.go index 88c4b7465a824..55acdfecf544b 100644 --- a/plugins/inputs/modbus/type_conversions.go +++ b/plugins/inputs/modbus/type_conversions.go @@ -1,4 +1,5 @@ //go:build !openbsd +// +build !openbsd package modbus diff --git a/plugins/inputs/modbus/type_conversions16.go b/plugins/inputs/modbus/type_conversions16.go index 8fc920d217dbb..5931fc6895edc 100644 --- a/plugins/inputs/modbus/type_conversions16.go +++ b/plugins/inputs/modbus/type_conversions16.go @@ -1,4 +1,5 @@ //go:build !openbsd +// +build !openbsd package modbus diff --git a/plugins/inputs/modbus/type_conversions32.go b/plugins/inputs/modbus/type_conversions32.go index 260a3dc065f70..80f7ee6a0c6c7 100644 --- a/plugins/inputs/modbus/type_conversions32.go +++ b/plugins/inputs/modbus/type_conversions32.go @@ -1,4 +1,5 @@ //go:build !openbsd +// +build !openbsd package modbus diff --git a/plugins/inputs/modbus/type_conversions64.go b/plugins/inputs/modbus/type_conversions64.go index 55b0a0775c701..feef4112b7f2c 100644 --- a/plugins/inputs/modbus/type_conversions64.go +++ b/plugins/inputs/modbus/type_conversions64.go @@ -1,4 +1,5 @@ //go:build !openbsd +// +build !openbsd package modbus