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:
Daniel Swarbrick 2024-05-12 18:53:12 +02:00 committed by Johannes 'fish' Ziemke
parent 770bd551db
commit 6c96239eaa

View file

@ -11,8 +11,9 @@
// 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 !nozfs //go:build !nozfs && (freebsd || linux || solaris)
// +build !nozfs // +build !nozfs
// +build freebsd linux solaris
package collector package collector