ignore commented imports
Cas-pian opened this issue · comments
Caspian commented
What version of dep
are you using (dep version
)?
dep:
version : v0.5.4
build date : 2019-07-01
git hash : 1f7c19e
go version : go1.12.6
go compiler : gc
platform : linux/amd64
features : ImportDuringSolve=false
What dep
command did you run?
dep ensure
What did you expect to see?
I comment a go file (contains import k8s.io/apimachinery/pkg/apimachinery/registered
), only left it with package definition
dep ensure
should returned successfully.
What did you see instead?
release-1.11: Could not introduce k8s.io/apimachinery@release-1.11, as its subpackage k8s.io/apimachinery/pkg/apimachinery/registered is missing. (Package is required by (root).)
Caspian commented
close as I've found it's caused by the wrong config.