Fix RBD store to use READ_CHUNKSIZE

Change 4e0c563b8f3a5ced8f65fcca83d341a97729a5d4 was incomplete and
missed a variable in the rbd store.

This patch fixes the issue by using store.READ_CHUNKSIZE instead of
store.chunk_size

Change-Id: I2dc5b1514d3e86ec129c1fc88de096d98a64f806
Closes-Bug: #1352509
This commit is contained in:
Arnaud Legendre 2014-08-04 11:34:44 -07:00
parent 25c1f2ffc6
commit d67a94b602
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ class ImageIterator(object):
self.pool = store.pool
self.user = store.user
self.conf_file = store.conf_file
self.chunk_size = store.chunk_size
self.chunk_size = store.READ_CHUNKSIZE
def __iter__(self):
try: