ashb commented on a change in pull request #4238: [AIRFLOW-987] pass kerberos 
cli args keytab and principal to kerberos…
URL: https://github.com/apache/incubator-airflow/pull/4238#discussion_r236358598
 
 

 ##########
 File path: airflow/security/kerberos.py
 ##########
 @@ -80,7 +82,7 @@ def perform_krb181_workaround():
     ret = subprocess.call(cmdv, close_fds=True)
 
     if ret != 0:
-        principal = "%s/%s" % (
+        principal = args.principal or "%s/%s" % (
 
 Review comment:
   I'm not sure this change is right - I'd have guessed that args.principal 
would be used to override the principal in the config and then add to it? 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to