From 5c2e57e39e8e1066eced185a4fafd3207239a10b Mon Sep 17 00:00:00 2001 From: Bogdan Drutu Date: Fri, 16 Dec 2022 11:38:32 -0800 Subject: [PATCH] [chore]: Fix testing make run command (#17058) Signed-off-by: Bogdan Drutu Signed-off-by: Bogdan Drutu --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index bafb18ad0df1..e4de6dd8f606 100644 --- a/Makefile +++ b/Makefile @@ -219,7 +219,7 @@ install-tools: .PHONY: run run: - GO111MODULE=on $(GOCMD) run --race ./cmd/otelcontribcol/... --config ${RUN_CONFIG} ${RUN_ARGS} + cd ./cmd/otelcontribcol && GO111MODULE=on $(GOCMD) run --race . --config ../../${RUN_CONFIG} ${RUN_ARGS} .PHONY: docker-component # Not intended to be used directly docker-component: check-component