shahar1 commented on code in PR #39587:
URL: https://github.com/apache/airflow/pull/39587#discussion_r1598825622


##########
airflow/cli/commands/kubernetes_command.py:
##########
@@ -36,6 +37,12 @@
 from airflow.utils.cli import get_dag
 from airflow.utils.providers_configuration_loader import 
providers_configuration_loaded
 
+warnings.warn(
+    "Use kubernetes command from providers package, Use cncf.kubernetes 
provider >= 8.2.1",
+    DeprecationWarning,
+    stacklevel=2,
+)

Review Comment:
   Does this mean that logic should be maintained in both files until 
deprecation? Is there a way to avoid duplication?



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