Restore the temp_store_handler.

This commit is contained in:
yackob03 2013-11-11 16:41:33 -05:00
parent e6926b62be
commit 2e9f7cd19d
2 changed files with 16 additions and 1 deletions

View file

@ -114,7 +114,7 @@ def put_image_layer(namespace, repository, image_id):
# compute checksums
csums = []
sr = SocketReader(input_stream)
tmp, store_hndlr = storage.temp_store_handler()
tmp, store_hndlr = store.temp_store_handler()
sr.add_handler(store_hndlr)
h, sum_hndlr = checksums.simple_checksum_handler(json_data)
sr.add_handler(sum_hndlr)