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:
parent
6c47bad772
commit
831781954e
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user