Files
worker/internal/webapp/metrics_other.go
Gleb Tv 2c7a0236da feat: publish standalone worker
Separate worker packaging and service lifecycle from the control plane.
2026-07-13 17:55:14 +03:00

12 строки
337 B
Go

//go:build !linux
package webapp
// statDisk is a no-op on non-Linux platforms. The webapp MVP targets
// Linux workers (the proc/sysfs data sources only exist there); the
// build tag keeps the package compilable on a developer Mac for
// quick template/handler iteration.
func statDisk(_ string, _ *DiskSample) error {
return nil
}