mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-11-23 12:30:46 +01:00
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:
parent
b9eef570d5
commit
701912b5e7
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user