diff --git a/x-pack/elastic-agent/pkg/agent/application/once.go b/x-pack/elastic-agent/pkg/agent/application/once.go index 5c4688d67232..db4af015608d 100644 --- a/x-pack/elastic-agent/pkg/agent/application/once.go +++ b/x-pack/elastic-agent/pkg/agent/application/once.go @@ -34,7 +34,7 @@ func (o *once) Start() error { return ErrNoConfiguration } - return readfiles(ocntext.Background(), files, o.loader, o.emitter) + return readfiles(context.Background(), files, o.loader, o.emitter) } func (o *once) Stop() error {