dstandish commented on code in PR #42913:
URL: https://github.com/apache/airflow/pull/42913#discussion_r1819792512


##########
airflow/dag_processing/collection.py:
##########
@@ -248,6 +248,7 @@ def update_dags(
                 _update_dag_owner_links(dag.owner_links, dm, session=session)
             else:  # Optimization: no references at all, just clear everything.
                 dm.dag_owner_links = []
+            dm.version_name = dag.version_name

Review Comment:
   why does the dag model store the name? shouldn't it just store the id?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to