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 New Issue