Skip to content

Commit 6c96239

Browse files
dswarbrickdiscordianfish
authored andcommitted
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 <[email protected]>
1 parent 770bd55 commit 6c96239

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

collector/zfs.go renamed to collector/zfs_common.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@
1111
// See the License for the specific language governing permissions and
1212
// limitations under the License.
1313

14-
//go:build !nozfs
14+
//go:build !nozfs && (freebsd || linux || solaris)
1515
// +build !nozfs
16+
// +build freebsd linux solaris
1617

1718
package collector
1819

0 commit comments

Comments
 (0)