Skip to content

Commit

Permalink
xenapi tests: changes size='0' to size=0
Browse files Browse the repository at this point in the history
This could potentially cause a memory leak.

Change-Id: I46f0bc34598a9927767820b3616ced3b527a259f
  • Loading branch information
Renuka Apte committed Jun 20, 2012
1 parent 470ccb8 commit c9b88b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nova/tests/test_xenapi.py
Expand Up @@ -109,7 +109,7 @@ def setUp(self):
'os_type': 'linux',
'architecture': 'x86-64'}

def _create_volume(self, size='0'):
def _create_volume(self, size=0):
"""Create a volume object."""
vol = {}
vol['size'] = size
Expand Down

0 comments on commit c9b88b8

Please sign in to comment.