Closed
Description
$GOPATH/src/github.com/prometheus/prombench
├── cmd
│ └── prombench
│ ├── go.mod
│ └── main.go
├── provider
│ └── gke
│ └── gke.go
runing vgo build
inside ../cmd/prombench
fails as
main.go
imports github.com/prometheus/prombench/provider/gke
which is not yet uploaded to the remote repo since this is a WIP so can't yet upload it to upstream.
vgo: import "github.com/prometheus/prombench/cmd/prombench" ->
import "github.com/prometheus/prombench/provider/gke" [/home/krasi/src/v/github.com/prometheus/prombench@v0.0.0-20180214143609-3b081cc497a5/provider/gke]: open /home/krasi/src/v/github.com/prometheus/prombench@v0.0.0-20180214143609-3b081cc497a5/provider/gke: no such file or directory
I tried adding replace "github.com/prometheus/prombench/provider/gke" v0.0.0 => "../../provider/gke"
to go.mod , but didn't make any difference.
not sure what should be the behaviour here, but I see this as a quite common scenario