Unverified Commit 7aeb6133 authored by Ayush Pateria's avatar Ayush Pateria Committed by GitHub

Fix SkippedPaths

Bazel walks through the Kubernetes repo to add vendor targets for OpenAPI generation. `SkippedPaths` is used to skip the paths such as `_examples`. However, it doesn't work as desired, because it matches for `_` at the beginning of the path, so paths like `vendor\..\_example` are picked up by the generator. This PR fixes this.
parent da8e25c6
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
"GoPrefix": "k8s.io/kubernetes", "GoPrefix": "k8s.io/kubernetes",
"SkippedPaths": [ "SkippedPaths": [
"^_.*", "^_.*",
"/_",
"^third_party/etcd.*" "^third_party/etcd.*"
], ],
"AddSourcesRules": true, "AddSourcesRules": true,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment