containerized-data-importer/tools.go
Alexander Wels 8d222e261f
Change +build ignore tag in tools.go to +build codegen so that (#1339)
make deps-update will not ignore it and properly vendor in k8s.io/code-generator.
By using the +build tag will cause the build to not include this code
during a build unless the codegen tag is used.

// +build ignore is special apparently
https://github.com/golang/go/issues/29598

Signed-off-by: Alexander Wels <awels@redhat.com>
2020-08-13 19:35:56 +02:00

10 lines
206 B
Go

// VSCODE will say this is an error, but it's fine
// +build codegen
package tools
import (
// the puropse of this import is to get gomod to bring in code generator and deps
_ "k8s.io/code-generator"
)