From b7220a01afa8d7a6e45c49f5c65f06bbec5e69a8 Mon Sep 17 00:00:00 2001 From: ShenYuhan Date: Fri, 28 Aug 2020 14:22:14 +0800 Subject: [PATCH] Fix append to bos. (#778) * fix bug for QUEUE_TIMEOUT * fix bugs --- visualdl/io/bfile.py | 3 +-- visualdl/version.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/visualdl/io/bfile.py b/visualdl/io/bfile.py index baeb8f1b..3c0eec48 100644 --- a/visualdl/io/bfile.py +++ b/visualdl/io/bfile.py @@ -312,8 +312,7 @@ class BosFileSystem(object): key=object_key, data=init_data, content_md5=content_md5(init_data), - content_length=len(init_data), - offset=0) + content_length=len(init_data)) content_length = len(file_content) offset = self.get_meta(bucket_name, object_key).metadata.content_length diff --git a/visualdl/version.py b/visualdl/version.py index 5e4face2..ab3a2583 100644 --- a/visualdl/version.py +++ b/visualdl/version.py @@ -13,4 +13,4 @@ # limitations under the License. # ======================================================================= -vdl_version = '2.0.2' +vdl_version = '2.0.3' -- GitLab