Taragolis commented on code in PR #38223:
URL: https://github.com/apache/airflow/pull/38223#discussion_r1527459788


##########
airflow/providers/cncf/kubernetes/operators/custom_object_launcher.py:
##########
@@ -59,9 +59,9 @@ def validate(self):
         if self.spec.get("dynamicAllocation", {}).get("enabled"):
             if not all(
                 [
-                    self.spec["dynamicAllocation"]["initialExecutors"],
-                    self.spec["dynamicAllocation"]["minExecutors"],
-                    self.spec["dynamicAllocation"]["maxExecutors"],
+                    self.spec["dynamicAllocation"].get("initialExecutors"),
+                    self.spec["dynamicAllocation"].get("minExecutors"),
+                    self.spec["dynamicAllocation"].get("maxExecutors"),

Review Comment:
   Yeah, just reflect it into the PR description title. Because otherwise it 
might accidentally skipped into the Changelog during the release process.



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