Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
protosanitizer: remove package dependency on CSI
The test code must be conceptually in a different package, otherwise the "protosanitizer" package depends on the CSI 1.0 package and cannot be vendored into a client relying on an older version of the spec, not even when stripping of go test code is enabled - at least "dep" checks package dependencies before stripping. The downside of moving the tests is that a manual "go test ./protosanitizer" no longer runs the test. They are still run by "make test": $ make test go test `go list ./... | grep -v ^vendor` ? github.com/kubernetes-csi/csi-lib-utils/protosanitizer [no test files] ok github.com/kubernetes-csi/csi-lib-utils/protosanitizer/test 0.051s ? github.com/kubernetes-csi/csi-lib-utils/protosanitizer/test/csi03 [no test files] ? github.com/kubernetes-csi/csi-lib-utils/protosanitizer/test/csitest [no test files]
- Loading branch information