From 7aeb6133c9e53197cbf5ffb0071146c86c39254c Mon Sep 17 00:00:00 2001 From: Ayush Pateria Date: Thu, 17 May 2018 13:35:44 +0530 Subject: [PATCH] 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. --- build/root/.kazelcfg.json | 1 + 1 file changed, 1 insertion(+) diff --git a/build/root/.kazelcfg.json b/build/root/.kazelcfg.json index ead969b479e..fae9ddd5f06 100644 --- a/build/root/.kazelcfg.json +++ b/build/root/.kazelcfg.json @@ -2,6 +2,7 @@ "GoPrefix": "k8s.io/kubernetes", "SkippedPaths": [ "^_.*", + "/_", "^third_party/etcd.*" ], "AddSourcesRules": true,