Open dougbtv opened 5 years ago
Looks like it was an improper flattening of deps, glog
package is included multiple times:
grep -Prin "log_dir" *
vendor/github.com/intel/multus-cni/vendor/github.com/golang/glog/glog.go:49:// -log_dir=""
vendor/github.com/intel/multus-cni/vendor/github.com/golang/glog/glog_file.go:41:var logDir = flag.String("log_dir", "", "If non-empty, write log files in this directory")
vendor/github.com/golang/glog/glog.go:49:// -log_dir=""
vendor/github.com/golang/glog/glog_file.go:41:var logDir = flag.String("log_dir", "", "If non-empty, write log files in this directory")
Went ahead and manually deleted multiple inclusion for now:
rm -Rf vendor/github.com/intel/multus-cni/vendor/github.com/golang/glog/
Plan to PR into develop branch.
Hey @dougbtv, I think this could be fixed with --strip-vendor
- it will remove nested vendor dirs, inlcuding glog from Multus. Would this be more "clean" solution?