ashb commented on a change in pull request #10393:
URL: https://github.com/apache/airflow/pull/10393#discussion_r490274765
##########
File path: airflow/kubernetes/pod_generator.py
##########
@@ -396,7 +240,7 @@ def from_legacy_obj(obj) -> Optional[k8s.V1Pod]:
limits=limits
)
namespaced['resources'] = resources
- return PodGenerator(**namespaced).gen_pod()
+ return PodGeneratorDeprecated(**namespaced).gen_pod()
Review comment:
Can/should we issue a FutureDeprecationWarning here, so that we can
remove this code path in 2.1/2.2?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]