Commit 02986086 authored by Roque's avatar Roque

erp5_wendelin_data_lake_ingestion: fix alarm control

parent fede1d1d
...@@ -8,5 +8,5 @@ for data_set in context.portal_catalog(portal_type = "Data Set", ...@@ -8,5 +8,5 @@ for data_set in context.portal_catalog(portal_type = "Data Set",
aggregate_uid = data_set.getUid()) aggregate_uid = data_set.getUid())
for data_ingestion_line in data_ingestion_line_list: for data_ingestion_line in data_ingestion_line_list:
data_stream = data_ingestion_line.getAggregateValue(portal_type = "Data Stream") data_stream = data_ingestion_line.getAggregateValue(portal_type = "Data Stream")
if data_stream.getValidationState() == "validated": if data_stream and data_stream.getValidationState() == "validated":
data_stream.publish() data_stream.publish()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment