Skip to content

Commit aa07033

Browse files
committed
Run goimports in api files (including generated files)
1 parent 60cd70e commit aa07033

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Makefile.custom.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ crds: controller-gen ## Generate CustomResourceDefinition.
2626
generate: controller-gen crds ## Generate code containing DeepCopy, DeepCopyInto, and DeepCopyObject method implementations.
2727
go generate ./...
2828
$(CONTROLLER_GEN) object:headerFile="hack/boilerplate.go.txt" paths="./..."
29+
@go run golang.org/x/tools/cmd/goimports -w ./api/v1alpha1
2930

3031
.PHONY: create-acceptance-cluster
3132
create-acceptance-cluster: kind

0 commit comments

Comments
 (0)