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
1 changed files with 2 additions and 1 deletions

View File

@ -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