diff --git a/agent/internal/inventory/collect_other.go b/agent/internal/inventory/collect_other.go index 59c3c1b..8a0921f 100644 --- a/agent/internal/inventory/collect_other.go +++ b/agent/internal/inventory/collect_other.go @@ -1,5 +1,9 @@ +//go:build !linux - +// Inventory collection is Linux-only. This no-op stands in everywhere else. +// +// The build constraint above is load-bearing: "_other" is not a GOOS suffix, so +// without it this file compiles on Linux too and collides with collect_linux.go. package inventory import "github.com/mrhid6/vantage/agent/internal/grpc/pb"