Closed yinjun622 closed 4 years ago
I cannot reproduce the issue.
$ docker run --rm -i -t golang:latest bash
root@109e710db239:/go#
root@109e710db239:/go# cd src/
root@109e710db239:/go/src# mkdir foo
root@109e710db239:/go/src# cd foo/
root@109e710db239:/go/src/foo# go mod init foo
go: creating new go.mod: module foo
root@109e710db239:/go/src/foo# go get go.elastic.co/apm
go: downloading go.elastic.co/apm v1.7.1
go: go.elastic.co/apm upgrade => v1.7.1
go: downloading github.com/elastic/go-sysinfo v1.1.1
go: downloading go.elastic.co/fastjson v1.0.0
go: downloading github.com/pkg/errors v0.8.1
go: downloading golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e
go: downloading github.com/armon/go-radix v1.0.0
go: downloading github.com/santhosh-tekuri/jsonschema v1.2.4
go: downloading github.com/joeshaw/multierror v0.0.0-20140124173710-69b34d4ec901
go: downloading github.com/elastic/go-windows v1.0.0
go: downloading howett.net/plist v0.0.0-20181124034731-591f970eefbb
go: downloading github.com/prometheus/procfs v0.0.3
root@109e710db239:/go/src/foo#
root@109e710db239:/go/src/foo# cat go.mod
module foo
go 1.14
require go.elastic.co/apm v1.7.1 // indirect
root@109e710db239:/go/src/foo# go mod verify
all modules verified
root@109e710db239:/go/src/foo# grep cucumber go.sum
github.com/cucumber/godog v0.8.0/go.mod h1:Cp3tEV1LRAyH/RuCThcxHS/+9ORZ+FMzPva2AZ5Ki+A=
Please try clearing your module cache with go clean -modcache
. If you're still having issues after that, please open a topic at https://discuss.elastic.co/c/apm and perhaps someone can help you.
Describe the bug install apm-agent-go
version: go1.14
Expected behavior