Skip to content

Commit

Permalink
chore: fixed wrong bucket names in cleanup method (#656)
Browse files Browse the repository at this point in the history
Fixes #652  🦕
  • Loading branch information
munkhuushmgl authored and Ace Nassri committed Nov 17, 2022
1 parent fb1c017 commit 6a287a0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion translate/test/v3/translate_batch_translate_text.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const REGION_TAG = 'translate_batch_translate_text';

async function clearBucket(projectId, storage, bucketUuid) {
const options = {
prefix: `translation-${bucketUuid}/BATCH_TRANSLATE_WITH_GLOS_OUTPUT/`,
prefix: `translation-${bucketUuid}/BATCH_TRANSLATE_OUTPUT/`,
delimeter: '/',
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const REGION_TAG = 'translate_batch_translate_text_with_glossary_and_model';

async function clearBucket(projectId, storage, bucketUuid) {
const options = {
prefix: `translation-${bucketUuid}/BATCH_TRANSLATE_WITH_GLOS_OUTPUT/`,
prefix: `translation-${bucketUuid}/BATCH_TRANSLATE_GLOSS_MODEL_OUTPUT/`,
delimeter: '/',
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const REGION_TAG = 'translate_batch_translate_text_with_model';

async function clearBucket(projectId, storage, bucketUuid) {
const options = {
prefix: `translation-${bucketUuid}/BATCH_TRANSLATE_WITH_GLOS_OUTPUT/`,
prefix: `translation-${bucketUuid}/BATCH_TRANSLATE_WITH_MODEL_OUTPUT/`,
delimeter: '/',
};

Expand Down

0 comments on commit 6a287a0

Please sign in to comment.