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 2aba436 commit 5a24a6b
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 5a24a6b

Please sign in to comment.