sunank200 commented on code in PR #47371:
URL: https://github.com/apache/airflow/pull/47371#discussion_r1994897415


##########
airflow/cli/commands/remote_commands/config_command.py:
##########
@@ -546,6 +560,9 @@ def lint_config(args) -> None:
         ):
             lint_issues.append(configuration.message)
 
+        if not args.skip_problematic_default_checks:
+            
conf.handle_incompatible_airflow2_defaults(upgrade=args.upgrade_problematic_defaults)
+

Review Comment:
   This was a behaviour that I intentionally added where it automatically 
upgraded by default. If we want to change this to upgrade only via `airflow 
config lint`, I can pass `upgrade=False` in configuration.py method.



-- 
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