Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable RAS input plugin on specific Linux architectures: mips64, mips64le, ppc64le, riscv64 (#8317) #8317

Merged
merged 1 commit into from
Oct 26, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion plugins/inputs/ras/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# RAS Daemon Input Plugin

This plugin is only available on Linux.
This plugin is only available on Linux (only for `386`, `amd64`, `arm` and `arm64` architectures).

The `RAS` plugin gathers and counts errors provided by [RASDaemon](https://github.com/mchehab/rasdaemon).

Expand Down
3 changes: 2 additions & 1 deletion plugins/inputs/ras/ras.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// +build linux,!mips,!mipsle,!s390x
// +build linux
// +build 386 amd64 arm arm64

package ras

Expand Down
2 changes: 1 addition & 1 deletion plugins/inputs/ras/ras_notlinux.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// +build !linux mips mipsle s390x
// +build !linux linux,!386,!amd64,!arm,!arm64

package ras
3 changes: 2 additions & 1 deletion plugins/inputs/ras/ras_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// +build linux,!mips,!mipsle,!s390x
// +build linux
// +build 386 amd64 arm arm64

package ras

Expand Down