diff --git a/collector/zfs.go b/collector/zfs_common.go similarity index 89% rename from collector/zfs.go rename to collector/zfs_common.go index 11b46fae..7934ec5a 100644 --- a/collector/zfs.go +++ b/collector/zfs_common.go @@ -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