mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-12-24 21:24:30 -08:00
zfs: rename zfs.go to zfs_common.go
Also add build-tags to ensure it is ignored on non-relevant archs. Signed-off-by: Daniel Swarbrick <daniel.swarbrick@gmail.com>
This commit is contained in:
parent
770bd551db
commit
6c96239eaa
|
@ -11,8 +11,9 @@
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//go:build !nozfs
|
||||
//go:build !nozfs && (freebsd || linux || solaris)
|
||||
// +build !nozfs
|
||||
// +build freebsd linux solaris
|
||||
|
||||
package collector
|
||||
|
Loading…
Reference in a new issue