Skip to content

Commit b02716a

Browse files
authored
updated update import version scripts to account for ingestion helper updates (#2067)
1 parent 8021e95 commit b02716a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

import-automation/executor/scripts/update_import_version.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ IMPORT_NAME=$1
3131
VERSION=$2
3232
COMMENT=$3
3333

34-
curl -X POST "${FUNCTION_URL}" \
34+
curl -X POST "${FUNCTION_URL}/imports/version" \
3535
-H "Authorization: bearer $(gcloud auth print-identity-token)" \
3636
-H "Content-Type: application/json" \
37-
-d "{\"actionType\": \"update_import_version\", \"importName\": \"${IMPORT_NAME}\", \"version\": \"${VERSION}\", \"override\": true, \"comment\": \"${COMMENT}\"}"
37+
-d "{\"importName\": \"${IMPORT_NAME}\", \"version\": \"${VERSION}\", \"override\": true, \"comment\": \"${COMMENT}\"}"

0 commit comments

Comments
 (0)