diff --git a/contrib/implements/internal/implements/gosrc.go b/contrib/implements/internal/implements/gosrc.go index 6c8230b..02e8552 100644 --- a/contrib/implements/internal/implements/gosrc.go +++ b/contrib/implements/internal/implements/gosrc.go @@ -190,6 +190,9 @@ func CephGoFunctions(source, packageName string, ii *Inspector) error { toCheck := []string{} toCheck = append(toCheck, p.GoFiles...) toCheck = append(toCheck, p.CgoFiles...) + for _, fname := range p.IgnoredGoFiles { + logger.Printf("Ignored go file: %v\n", fname) + } for _, fname := range toCheck { logger.Printf("Reading go file: %v\n", fname) src, err := ioutil.ReadFile(path.Join(p.Dir, fname)) @@ -209,3 +212,7 @@ func CephGoFunctions(source, packageName string, ii *Inspector) error { } return nil } + +func init() { + build.Default.BuildTags = append(build.Default.BuildTags, "ceph_preview") +}