Break early from volume cleanup loop

Change-Id: I540c4d860a60810d6ae6838ec558cc48cff67cf8
This commit is contained in:
Monty Taylor 2017-06-13 21:35:02 -05:00
parent c431cc2c4b
commit 35980c1da8
No known key found for this signature in database
GPG Key ID: 7BAE94BC7141A594

View File

@ -107,6 +107,9 @@ class TestVolume(base.BaseFunctionalTestCase):
for v in volume:
if v['id'] == existing['id']:
found = True
break
if found:
break
if not found:
break