Skip to content

Commit

Permalink
fix upload offset
Browse files Browse the repository at this point in the history
  • Loading branch information
830d953e committed Feb 16, 2024
1 parent c8c4ae1 commit 79cae69
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# CHANGELOG

## 1.0.5 - 2024-02-16
* fix upload offset

## 1.0.4 - 2023-05-18
* set default timeout_in_seconds to 180 seconds

Expand All @@ -13,4 +16,4 @@
* Add scan_buffer() function

## 1.0.0 - 2023-05-01
* Initial release
* Initial release
2 changes: 1 addition & 1 deletion amaas/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.0.2"
__version__ = "1.0.5"
2 changes: 1 addition & 1 deletion amaas/grpc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def _generate_messages(pipeline: _Pipeline, data_reader: BinaryIO, stats: dict)
stage=scan_pb2.STAGE_RUN,
file_name=None,
rs_size=0,
offset=data_reader.tell(),
offset=message.length,
chunk=chunk)

stats["total_upload"] = stats.get(
Expand Down

0 comments on commit 79cae69

Please sign in to comment.