Swift Multi-tenant store: Pass context on upload
Image upload returns an E500 as the context is not being passed to the swift client. Change-Id: I2065b7dd281bfbb513f13270a0c062fc7132f763 Partial-bug: 1385213
This commit is contained in:
parent
8cf3d38246
commit
867b696d88
|
@ -101,7 +101,8 @@ def upload_data_to_store(req, image_meta, image_data, store, notifier):
|
|||
image_meta['id'],
|
||||
utils.CooperativeReader(image_data),
|
||||
image_meta['size'],
|
||||
store)
|
||||
store,
|
||||
context=req.context)
|
||||
|
||||
location_data = {'url': uri,
|
||||
'metadata': location_metadata,
|
||||
|
|
Loading…
Reference in New Issue