uranusjr commented on code in PR #41207:
URL: https://github.com/apache/airflow/pull/41207#discussion_r1704926615


##########
airflow/utils/db.py:
##########
@@ -1683,8 +1686,10 @@ def upgradedb(
                 os.environ["AIRFLOW__DATABASE__SQL_ALCHEMY_MAX_SIZE"] = val
             settings.reconfigure_orm()
 
-    if reserialize_dags:
+    current_revision = to_revision or _get_current_revision(session=session)

Review Comment:
   In that case the next two lines probably should as well?



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to