ashb commented on a change in pull request #10393:
URL: https://github.com/apache/airflow/pull/10393#discussion_r490275702



##########
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:
       Oh, you issue a warning a few lines up (from the previous PR. right?)




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


Reply via email to