Commit fb61582d authored by Yunhua Koglin's avatar Yunhua Koglin
Browse files

update

parent 6314d07e
......@@ -12,5 +12,5 @@
# See the License for the specific language governing permissions and
# limitations under the License.
__version__ = '2.0.2'
__version__ = '2.0.3'
......@@ -192,14 +192,14 @@ class AwsStorage(BlobStorageBase):
print("end of response\n\n")
return Blob(identifier=object_name,
bucket=tenant.bucket_name,
name=response.get('name', object_name),
metadata=response.get('metadata', {}),
acl=response.get('acl', None),
name=object_name,
metadata=metadata,
acl=auth,
content_type=content_type,
time_created=str(response.get('date', '')),
time_updated=str(response.get('last_modified', '')),
size=response.get('size', -1),
etag=response.get('etag', None),
time_created=str(''),
time_updated=str(''),
size=-1,
etag=extra.get('etag', None),
provider_specific=response)
# return response
......@@ -262,6 +262,10 @@ class AwsStorage(BlobStorageBase):
Bucket=self._bucket_name,
Key=object_name,
)
print("download metadata\n")
print(metadata)
print("end of download_metadata\n\n")
return Blob(identifier=metadata.get('ETag', None),
bucket=bucket,
name=metadata.get('name', object_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