Skip to content

Commit c72ef4b

Browse files
authored
Merge pull request #332 from yuwenma/align-go-tag
fix: align go build tag delimiters to hyphen
2 parents 4cd1d8f + b66c5da commit c72ef4b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/patterns/declarative/kustomize/enabled.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
)
1414

1515
// Run calls the kustomize/api library to run `kustomize build`. This method is differentiated by go build
16-
// tag `without-kustomize`
16+
// tag `without_kustomize`
1717
func Run(ctx context.Context, fs filesys.FileSystem, manifestPath string) ([]byte, error) {
1818
log := log.FromContext(ctx)
1919
log.WithValues("manifestPath", manifestPath).Info("running kustomize")

reconciler-options.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ instead of matching the namespace of the DeclarativeObject
4040
## WithApplyKustomize
4141
WithApplyKustomize runs the kustomize build to create final manifest. This feature needs the go dependency `kustomize/api`.
4242
If you do not need kustomize or want to use a conflict version of `kustomize/api`, you can opt out the kustomize and
43-
the `kustomize/api` dependency via go build tag `without-kustomize`. e.g. `go run ./main.go -tags without-kustomize`
43+
the `kustomize/api` dependency via go build tag `without_kustomize`. e.g. `go run ./main.go -tags without_kustomize`
4444

4545
## WithManagedApplication
4646
WithManagedApplication is a transform that will modify the Application object in the deployment to match the configuration of the rest of the deployment.

0 commit comments

Comments
 (0)