diff --git a/otelcolbuilder/Makefile b/otelcolbuilder/Makefile index ea644e7169..4ad9aede2c 100644 --- a/otelcolbuilder/Makefile +++ b/otelcolbuilder/Makefile @@ -144,7 +144,7 @@ generate-sources: @$(MAKE) _builder SKIP_COMPILATION=true # the changes below allow us to use a custom config provider # this requires some additions to the main.go file generated by the builder - go mod edit -require=github.com/SumoLogic/sumologic-otel-collector/pkg/configprovider/globprovider@v0.0.0-00010101000000-000000000000 cmd/go.mod + cd cmd && go get github.com/SumoLogic/sumologic-otel-collector/pkg/configprovider/globprovider@latest patch cmd/main.go cmd/main.go.patch patch cmd/main_windows.go cmd/main_windows.go.patch diff --git a/pkg/configprovider/globprovider/go.mod b/pkg/configprovider/globprovider/go.mod index 16e6b91bbc..d830b5264e 100644 --- a/pkg/configprovider/globprovider/go.mod +++ b/pkg/configprovider/globprovider/go.mod @@ -1,4 +1,4 @@ -module github.com/SumoLogic/sumologic-otel-collector/pkg/configprovider/glob +module github.com/SumoLogic/sumologic-otel-collector/pkg/configprovider/globprovider go 1.20