Skip to content

Commit

Permalink
zfs: rename zfs.go to zfs_common.go
Browse files Browse the repository at this point in the history
Also add build-tags to ensure it is ignored on non-relevant archs.

Signed-off-by: Daniel Swarbrick <[email protected]>
  • Loading branch information
dswarbrick authored and discordianfish committed Sep 30, 2024
1 parent 770bd55 commit 6c96239
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion collector/zfs.go → collector/zfs_common.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 6c96239

Please sign in to comment.