diff --git a/collector/uname.go b/collector/uname.go index 14cfefb3..76e66b7e 100644 --- a/collector/uname.go +++ b/collector/uname.go @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build (darwin || freebsd || openbsd || linux) && !nouname -// +build darwin freebsd openbsd linux +//go:build (darwin || freebsd || openbsd || netbsd || linux) && !nouname +// +build darwin freebsd openbsd netbsd linux // +build !nouname package collector diff --git a/collector/uname_bsd.go b/collector/uname_bsd.go index 736b3d12..69bf38e9 100644 --- a/collector/uname_bsd.go +++ b/collector/uname_bsd.go @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build (darwin || freebsd || openbsd) && !nouname -// +build darwin freebsd openbsd +//go:build (darwin || freebsd || openbsd || netbsd) && !nouname +// +build darwin freebsd openbsd netbsd // +build !nouname package collector