Skip to content

Commit

Permalink
Cleanup: fix indentation in assets routes
Browse files Browse the repository at this point in the history
  • Loading branch information
cjao committed Jun 8, 2023
1 parent 9b663c8 commit feedf10
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions covalent_dispatcher/_service/assets.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ def upload_node_asset(
alg, checksum = _extract_checksum(digest)
update["digest_alg"] = alg
update["digest"] = checksum
node.update_assets(updates={key: update}, session=session)
node.update_assets(updates={key: update}, session=session)
app_log.debug(f"Updated node asset {dispatch_id}:{node_id}:{key}")

# Copy the tempfile to object store
Expand Down Expand Up @@ -320,7 +320,7 @@ def upload_dispatch_asset(
alg, checksum = _extract_checksum(digest)
update["digest_alg"] = alg
update["digest"] = checksum
result_object.update_assets(updates={key: update}, session=session)
result_object.update_assets(updates={key: update}, session=session)
app_log.debug(f"Updated size for dispatch asset {dispatch_id}:{key}")

# Copy the tempfile to object store
Expand Down Expand Up @@ -364,7 +364,7 @@ def upload_lattice_asset(
alg, checksum = _extract_checksum(digest)
update["digest_alg"] = alg
update["digest"] = checksum
result_object.lattice.update_assets(updates={key: update}, session=session)
result_object.lattice.update_assets(updates={key: update}, session=session)
app_log.debug(f"Updated size for lattice asset {dispatch_id}:{key}")

# Copy the tempfile to object store
Expand Down

0 comments on commit feedf10

Please sign in to comment.