mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-12-26 14:09:47 -08: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
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
//go:build (darwin || freebsd || openbsd || linux) && !nouname
|
//go:build (darwin || freebsd || openbsd || netbsd || linux) && !nouname
|
||||||
// +build darwin freebsd openbsd linux
|
// +build darwin freebsd openbsd netbsd linux
|
||||||
// +build !nouname
|
// +build !nouname
|
||||||
|
|
||||||
package collector
|
package collector
|
||||||
|
|
|
@ -11,8 +11,8 @@
|
||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
//go:build (darwin || freebsd || openbsd) && !nouname
|
//go:build (darwin || freebsd || openbsd || netbsd) && !nouname
|
||||||
// +build darwin freebsd openbsd
|
// +build darwin freebsd openbsd netbsd
|
||||||
// +build !nouname
|
// +build !nouname
|
||||||
|
|
||||||
package collector
|
package collector
|
||||||
|
|
Loading…
Reference in a new issue