diff --git a/internal/pkg/otel/components.go b/internal/pkg/otel/components.go index bad2afb68cb..a4e0d370c75 100644 --- a/internal/pkg/otel/components.go +++ b/internal/pkg/otel/components.go @@ -2,6 +2,8 @@ // or more contributor license agreements. Licensed under the Elastic License; // you may not use this file except in compliance with the Elastic License. +//go:build !windows + package otel import ( diff --git a/internal/pkg/otel/config_file_provider.go b/internal/pkg/otel/config_file_provider.go index 039693ed9c9..1c2d2697f63 100644 --- a/internal/pkg/otel/config_file_provider.go +++ b/internal/pkg/otel/config_file_provider.go @@ -2,6 +2,8 @@ // or more contributor license agreements. Licensed under the Elastic License; // you may not use this file except in compliance with the Elastic License. +//go:build !windows + package otel import ( diff --git a/internal/pkg/otel/config_file_provider_test.go b/internal/pkg/otel/config_file_provider_test.go index 4fbd75da6d0..16478e3ac56 100644 --- a/internal/pkg/otel/config_file_provider_test.go +++ b/internal/pkg/otel/config_file_provider_test.go @@ -2,6 +2,8 @@ // or more contributor license agreements. Licensed under the Elastic License; // you may not use this file except in compliance with the Elastic License. +//go:build !windows + package otel import ( diff --git a/internal/pkg/otel/run.go b/internal/pkg/otel/run.go index 46374fee458..5042e7c14d3 100644 --- a/internal/pkg/otel/run.go +++ b/internal/pkg/otel/run.go @@ -2,6 +2,8 @@ // or more contributor license agreements. Licensed under the Elastic License; // you may not use this file except in compliance with the Elastic License. +//go:build !windows + package otel import ( diff --git a/internal/pkg/otel/run_test.go b/internal/pkg/otel/run_test.go index 484ea5d7fc2..983044d5170 100644 --- a/internal/pkg/otel/run_test.go +++ b/internal/pkg/otel/run_test.go @@ -2,6 +2,8 @@ // or more contributor license agreements. Licensed under the Elastic License; // you may not use this file except in compliance with the Elastic License. +//go:build !windows + package otel import ( diff --git a/internal/pkg/otel/validate.go b/internal/pkg/otel/validate.go index 924ae784a1f..ce3414536da 100644 --- a/internal/pkg/otel/validate.go +++ b/internal/pkg/otel/validate.go @@ -2,6 +2,8 @@ // or more contributor license agreements. Licensed under the Elastic License; // you may not use this file except in compliance with the Elastic License. +//go:build !windows + package otel import (