mirror of
https://github.com/datahub-project/datahub.git
synced 2025-08-21 15:48:05 +00:00
Stop fetching EI/DEV-only Espresso DB (#522)
This commit is contained in:
parent
86570c7ca8
commit
fcbde02b37
@ -81,10 +81,10 @@ class EspressoExtract:
|
||||
fabric = 'PROD'
|
||||
elif 'CORP' in value['fabrics']:
|
||||
fabric = 'CORP'
|
||||
elif 'EI' in value['fabrics']:
|
||||
fabric = 'EI'
|
||||
else:
|
||||
fabric = value['fabrics'][0]
|
||||
self.logger.info("Skip fetching: " + name)
|
||||
continue
|
||||
|
||||
sub_type = value['subType'] if value['subType'] > '' else ''
|
||||
|
||||
req_params = 'NuageDatabaseName={}&fabric={}&type={}&subType={}'.format(name, fabric, 'ESPRESSO', sub_type)
|
||||
|
Loading…
x
Reference in New Issue
Block a user