call update_metadata() to send the updated metadata
This commit is contained in:
parent
8b3283aeb8
commit
5a5f190929
1 changed files with 1 additions and 0 deletions
|
@ -306,6 +306,7 @@ for i in sorted(glob.glob(fileglob)):
|
||||||
key.set_metadata('backuppc_cmd', cmd)
|
key.set_metadata('backuppc_cmd', cmd)
|
||||||
key.set_metadata('backuppc_mesg', mesg)
|
key.set_metadata('backuppc_mesg', mesg)
|
||||||
key.set_acl('private')
|
key.set_acl('private')
|
||||||
|
key.update_metadata()
|
||||||
key.close()
|
key.close()
|
||||||
retry_count = max_retries+1
|
retry_count = max_retries+1
|
||||||
except boto.exception.S3ResponseError as e:
|
except boto.exception.S3ResponseError as e:
|
||||||
|
|
Loading…
Reference in a new issue