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'
|
fabric = 'PROD'
|
||||||
elif 'CORP' in value['fabrics']:
|
elif 'CORP' in value['fabrics']:
|
||||||
fabric = 'CORP'
|
fabric = 'CORP'
|
||||||
elif 'EI' in value['fabrics']:
|
|
||||||
fabric = 'EI'
|
|
||||||
else:
|
else:
|
||||||
fabric = value['fabrics'][0]
|
self.logger.info("Skip fetching: " + name)
|
||||||
|
continue
|
||||||
|
|
||||||
sub_type = value['subType'] if value['subType'] > '' else ''
|
sub_type = value['subType'] if value['subType'] > '' else ''
|
||||||
|
|
||||||
req_params = 'NuageDatabaseName={}&fabric={}&type={}&subType={}'.format(name, fabric, 'ESPRESSO', sub_type)
|
req_params = 'NuageDatabaseName={}&fabric={}&type={}&subType={}'.format(name, fabric, 'ESPRESSO', sub_type)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user