From 514a2fe71441784c5c7c1f6a4a6ce43d592f2095 Mon Sep 17 00:00:00 2001 From: Jingyi Hu Date: Thu, 12 Sep 2024 20:25:43 +0000 Subject: [PATCH] chore: fix generate.sh --- dev/tools/controllerbuilder/generate.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/dev/tools/controllerbuilder/generate.sh b/dev/tools/controllerbuilder/generate.sh index fa5dddb028..f32c0eab6b 100755 --- a/dev/tools/controllerbuilder/generate.sh +++ b/dev/tools/controllerbuilder/generate.sh @@ -118,6 +118,14 @@ go run . generate-types \ --output-api ${APIS_DIR} \ --kind BigQueryDataTransferConfig \ --proto-resource TransferConfig + +go run . generate-mapper \ + --proto-source-path ../proto-to-mapper/build/googleapis.pb \ + --service google.cloud.bigquery.datatransfer.v1 \ + --api-version bigquerydatatransfer.cnrm.cloud.google.com/v1alpha1 \ + --api-go-package-path github.com/GoogleCloudPlatform/k8s-config-connector/apis \ + --output-dir ${OUTPUT_MAPPER} \ + --api-dir ${APIS_DIR} # Firestore go run . generate-types \ @@ -136,13 +144,5 @@ go run . generate-mapper \ --output-dir ${OUTPUT_MAPPER} \ --api-dir ${APIS_DIR} -go run . generate-mapper \ - --proto-source-path ../proto-to-mapper/build/googleapis.pb \ - --service google.cloud.bigquery.datatransfer.v1 \ - --api-version bigquerydatatransfer.cnrm.cloud.google.com/v1alpha1 \ - --api-go-package-path github.com/GoogleCloudPlatform/k8s-config-connector/apis \ - --output-dir ${OUTPUT_MAPPER} \ - --api-dir ${APIS_DIR} - # Fix up formatting ${REPO_ROOT}/dev/tasks/fix-gofmt