Skip to content

Commit

Permalink
Merge pull request #105 from pwittrock/release
Browse files Browse the repository at this point in the history
fix check in 'build generated' for k8s.io/client-go/pkg/api/v1 to che…
  • Loading branch information
Phillip Wittrock authored Jul 20, 2017
2 parents 32365a5 + 5828cf3 commit 59120d0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/apiserver-boot/boot/build/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,9 @@ func RunGenerate(cmd *cobra.Command, args []string) {
// Add any vendored apis from core
apis = append(apis, getVendorApis(filepath.Join("k8s.io", "api"))...)
apis = append(apis, getVendorApis(filepath.Join("k8s.io", "client-go", "pkg", "apis"))...)
if _, err := os.Stat(filepath.Join("vendor", "k8s.io", "client-go", "pkg", "api", "v1")); err == nil {

// Special case 'k8s.io/client-go/pkg/api/v1' because it does not have a group
if _, err := os.Stat(filepath.Join("vendor", "k8s.io", "client-go", "pkg", "api", "v1", "doc.go")); err == nil {
apis = append(apis, filepath.Join("k8s.io", "client-go", "pkg", "api", "v1"))
}

Expand Down

0 comments on commit 59120d0

Please sign in to comment.