Skip to content

Commit

Permalink
Add build tag to ignore example go files
Browse files Browse the repository at this point in the history
  • Loading branch information
szh committed Jan 13, 2022
1 parent cade779 commit 9214258
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion resource-definitions/crd_injector.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build ignore

package main

import (
Expand Down Expand Up @@ -42,7 +44,7 @@ var secretlessCRD = &apiextensionsv1.CustomResourceDefinition{
},
},
Versions: []apiextensionsv1.CustomResourceDefinitionVersion{
apiextensionsv1.CustomResourceDefinitionVersion{
{
Name: "v1",
Served: true,
Storage: true,
Expand Down
2 changes: 2 additions & 0 deletions resource-definitions/crd_watcher.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build ignore

package main

import (
Expand Down

0 comments on commit 9214258

Please sign in to comment.