Skip to content

Commit cd1b5d2

Browse files
strawgateclaude
andcommitted
fix: add build tag to docker benchmark test to match MockWatcherFactory
MockWatcherFactory is defined in add_docker_metadata_test.go which has //go:build (linux || darwin || windows) && !integration. The benchmark must use the same constraint or the linter can't resolve the symbol. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 6949cb9 commit cd1b5d2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libbeat/processors/add_docker_metadata/add_docker_metadata_benchmark_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
// specific language governing permissions and limitations
1616
// under the License.
1717

18+
//go:build (linux || darwin || windows) && !integration
19+
1820
package add_docker_metadata
1921

2022
import (

0 commit comments

Comments
 (0)