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_r236358998
##########
File path: airflow/security/kerberos.py
##########
@@ -110,11 +112,11 @@ def detect_conf_var():
return b'X-CACHECONF:' in f.read()
-def run():
- if configuration.conf.get('kerberos', 'keytab') is None:
+def run(args):
+ if not args.keytab:
Review comment:
This needs an `or configuration.conf.get('kerberos', 'keytab') is None` too
----------------------------------------------------------------
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