Im getting this error while building docker image but the ParseBoolEnv and ParseDurationEnv function is in the mentioned path inside the vendor directory
Does the path go.elastic.co/apm/internal/configutil exist in your vendor folder?
Does running go mod tidy improve the situation?
Background: I got curious, so I tested this locally. I created a go.mod and main.go (see below), then I ran go mod tidy to download all dependencies, then I ran go mod vendor to get all the dependencies into the vendor directory.
At my end, I see go.elastic.co/apm/internal/configutil inside my vendor directory, and go build succeeds.
Thanks for the reply.
But I to see go.elastic.co/apm/internal/configutil inside my vendor directory and go mod tidy doesn’t seem to give any improvement