Files

14 lines
376 B
Go
Raw Permalink Normal View History

//go:build !linux
package agent
import "context"
// configureRuntime is a no-op on non-Linux platforms. The agent only runs
// in Kubernetes pods on Linux; this stub lets the package compile on
// developer machines for unit tests.
func (s *Server) configureRuntime(_ context.Context) error {
s.Logger.Warn("non-Linux build: ADD handler will return errors")
return nil
}