Skip to content

Commit

Permalink
Enable uname collector on NetBSD too
Browse files Browse the repository at this point in the history
This collector works just fine without any further changes.

Signed-off-by: Benny Siegert <bsiegert@gmail.com>
  • Loading branch information
bsiegert committed Dec 31, 2022
1 parent b9eef57 commit 701912b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions collector/uname.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions collector/uname_bsd.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 701912b

Please sign in to comment.