未验证 提交 b7220a01 编写于 作者: 走神的阿圆's avatar 走神的阿圆 提交者: GitHub

Fix append to bos. (#778)

* fix bug for QUEUE_TIMEOUT

* fix bugs
上级 d4d40a0b
...@@ -312,8 +312,7 @@ class BosFileSystem(object): ...@@ -312,8 +312,7 @@ class BosFileSystem(object):
key=object_key, key=object_key,
data=init_data, data=init_data,
content_md5=content_md5(init_data), content_md5=content_md5(init_data),
content_length=len(init_data), content_length=len(init_data))
offset=0)
content_length = len(file_content) content_length = len(file_content)
offset = self.get_meta(bucket_name, object_key).metadata.content_length offset = self.get_meta(bucket_name, object_key).metadata.content_length
......
...@@ -13,4 +13,4 @@ ...@@ -13,4 +13,4 @@
# limitations under the License. # limitations under the License.
# ======================================================================= # =======================================================================
vdl_version = '2.0.2' vdl_version = '2.0.3'
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册