Commit 1c09383e authored by Yunhua Koglin's avatar Yunhua Koglin
Browse files

update

parent 76e2bce2
......@@ -12,5 +12,5 @@
# See the License for the specific language governing permissions and
# limitations under the License.
__version__ = '2.0.4'
__version__ = '2.0.5'
......@@ -189,9 +189,9 @@ class AwsStorage(BlobStorageBase):
extra['etag'] = if_match or if_not_match
if len(extra)==0:
await s3_client.upload_fileobj(stream_data, self._bucket_name,object_name)
response = s3_client.upload_fileobj(stream_data, self._bucket_name,object_name)
else:
await s3_client.upload_fileobj(stream_data, self._bucket_name, object_name,ExtraArgs=extra)
response = s3_client.upload_fileobj(stream_data, self._bucket_name, object_name,ExtraArgs=extra)
metadata = s3_client.head_object(
Bucket=self._bucket_name,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment