Skip to content

Commit

Permalink
clp-package: Fix bugs introduced in #460: (#481)
Browse files Browse the repository at this point in the history
- Write search results to collection named job_id rather than task_id.
- Convert int to str in IR extraction command generation.
  • Loading branch information
haiqi96 authored Jul 15, 2024
1 parent d9607af commit 862fccf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def make_command(
]
if extract_ir_config.target_uncompressed_size is not None:
command.append("--target-size")
command.append(extract_ir_config.target_uncompressed_size)
command.append(str(extract_ir_config.target_uncompressed_size))
else:
logger.error(f"Unsupported storage engine {storage_engine}")
return None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def search(
archive_id=archive_id,
search_config=search_config,
results_cache_uri=results_cache_uri,
results_collection=str(task_id),
results_collection=job_id,
)
if not task_command:
return report_command_creation_failure(
Expand Down

0 comments on commit 862fccf

Please sign in to comment.