Skip to content

Commit

Permalink
remove check_if_exists_in_index (demisto#30738)
Browse files Browse the repository at this point in the history
  • Loading branch information
yaakovpraisler authored Nov 9, 2023
1 parent d54b55e commit 56a61ff
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions Tests/Marketplace/upload_packs.py
Original file line number Diff line number Diff line change
Expand Up @@ -1346,12 +1346,6 @@ def main():
pack.cleanup()
continue

task_status, exists_in_index = pack.check_if_exists_in_index(index_folder_path)
if not task_status:
pack.status = PackStatus.FAILED_SEARCHING_PACK_IN_INDEX.name # type: ignore[misc]
pack.cleanup()
continue

task_status = pack.prepare_for_index_upload()
if not task_status:
pack.status = PackStatus.FAILED_PREPARING_INDEX_FOLDER.name # type: ignore[misc]
Expand All @@ -1366,7 +1360,7 @@ def main():
continue

# in case that pack already exist at cloud storage path and in index, don't show that the pack was changed
if skipped_upload and exists_in_index and pack not in packs_with_missing_dependencies:
if skipped_upload and pack not in packs_with_missing_dependencies:
pack.status = PackStatus.PACK_ALREADY_EXISTS.name # type: ignore[misc]
pack.cleanup()
continue
Expand Down

0 comments on commit 56a61ff

Please sign in to comment.