Skip to content

Commit

Permalink
fix s3 metadata too, although will be capitalized
Browse files Browse the repository at this point in the history
Signed-off-by: Vanessa Sochat <vsochat@stanford.edu>
  • Loading branch information
vsoch committed Aug 1, 2019
1 parent 7f02b38 commit f496b15
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sregistry/main/s3/push.py
Expand Up @@ -35,7 +35,8 @@ def push(self, path, name, tag=None):
# *important* bug in boto3 will return these capitalized
# see https://github.com/boto/boto3/issues/1709
metadata = {'sizemb': "%s" % image_size,
'client': 'sregistry'}
'client': 'sregistry',
'type': 'container'}

ExtraArgs = {"Metadata": metadata}

Expand Down

0 comments on commit f496b15

Please sign in to comment.