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-api.txt',
|
||||||
'logs/screen-c-vol.txt',
|
'logs/screen-c-vol.txt',
|
||||||
'logs/syslog.txt'])
|
'logs/syslog.txt'])
|
||||||
# we could probably add more neutron files
|
# we could probably add more neutron files
|
||||||
# but currently only q-svc is used in queries
|
# but currently only q-svc is used in queries
|
||||||
if re.match("neutron", job):
|
if re.match("neutron", job):
|
||||||
files.extend([
|
files.extend([
|
||||||
'logs/screen-q-svc.txt',
|
'logs/screen-q-svc.txt',
|
||||||
])
|
])
|
||||||
else:
|
else:
|
||||||
files.extend([
|
files.extend([
|
||||||
'logs/screen-n-net.txt',
|
'logs/screen-n-net.txt',
|
||||||
])
|
])
|
||||||
return files
|
return files
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user