Fix nesting for required files

Only need to look for neutron or nova network if running tempest

Change-Id: I3ade31e5e2b1fe777a2bcd3c3a6c403dea1de8f8
This commit is contained in:
Joe Gordon 2014-03-06 13:19:41 -08:00
parent 6c47bad772
commit 831781954e

View File

@ -39,16 +39,16 @@ def required_files(job):
'logs/screen-c-api.txt',
'logs/screen-c-vol.txt',
'logs/syslog.txt'])
# we could probably add more neutron files
# but currently only q-svc is used in queries
if re.match("neutron", job):
files.extend([
'logs/screen-q-svc.txt',
])
else:
files.extend([
'logs/screen-n-net.txt',
])
# we could probably add more neutron files
# but currently only q-svc is used in queries
if re.match("neutron", job):
files.extend([
'logs/screen-q-svc.txt',
])
else:
files.extend([
'logs/screen-n-net.txt',
])
return files