Fix #2414: AirflowPipeline is storing the service in the entity_relationship and in the json column of airflow_pipeline_entity (#2415)

This commit is contained in:
Alberto Miorin 2022-01-25 11:56:32 +01:00 committed by GitHub
parent c092b03171
commit 4aa8f9b8e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -96,7 +96,7 @@ public class AirflowPipelineRepository extends EntityRepository<AirflowPipeline>
EntityReference service = airflowPipeline.getService();
// Don't store owner, dashboard, href and tags as JSON. Build it on the fly based on relationships
airflowPipeline.withOwner(null).withHref(null);
airflowPipeline.withOwner(null).withService(null).withHref(null);
store(airflowPipeline.getId(), airflowPipeline, update);