Enable uname collector on NetBSD too

This collector works just fine without any further changes.

Signed-off-by: Benny Siegert <bsiegert@gmail.com>
This commit is contained in:
Benny Siegert 2022-12-31 11:54:35 +01:00
parent b9eef570d5
commit 701912b5e7
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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