Break early from volume cleanup loop
Change-Id: I540c4d860a60810d6ae6838ec558cc48cff67cf8
This commit is contained in:
parent
c431cc2c4b
commit
35980c1da8
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user