This is an automated email from the ASF dual-hosted git repository.

ephraimanierobi pushed a commit to branch v2-6-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit bdae7b1c18a6612da07d66e568de2f3afc6956f7
Author: Daniel Standish <[email protected]>
AuthorDate: Tue May 9 23:54:24 2023 -0700

    Fix section name reference for api_client_retry_configuration (#31174)
    
    (cherry picked from commit 289065285ca54c3d7c2a5a4f8bf86efeef5d1507)
---
 airflow/kubernetes/kube_client.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/airflow/kubernetes/kube_client.py 
b/airflow/kubernetes/kube_client.py
index eb3912db3c..d2e791dbfd 100644
--- a/airflow/kubernetes/kube_client.py
+++ b/airflow/kubernetes/kube_client.py
@@ -110,7 +110,9 @@ def get_kube_client(
         _enable_tcp_keepalive()
 
     configuration = _get_default_configuration()
-    api_client_retry_configuration = conf.getjson("kubernetes", 
"api_client_retry_configuration", fallback={})
+    api_client_retry_configuration = conf.getjson(
+        "kubernetes_executor", "api_client_retry_configuration", fallback={}
+    )
 
     if not conf.getboolean("kubernetes_executor", "verify_ssl"):
         _disable_verify_ssl()

Reply via email to