Merge "[NetApp] Casting block_count to int before calling ONTAP API."

This commit is contained in:
Zuul 2019-03-26 20:13:26 +00:00 committed by Gerrit Code Review
commit 247f42deb4
1 changed files with 1 additions and 1 deletions

View File

@ -499,7 +499,7 @@ class Client(client_base.Client):
'destination-block-number':
six.text_type(dest_block),
'block-count':
six.text_type(block_count)})
six.text_type(int(block_count))})
block_ranges.add_child_elem(block_range)
src_block += int(block_count)
dest_block += int(block_count)