mirror of
https://github.com/xcat2/confluent.git
synced 2025-04-13 16:57:59 +00:00
Correct error in check_for_yaml function in auth
This commit is contained in:
parent
b1018d648e
commit
ad25c31d3f
@ -145,7 +145,7 @@ def add_roles(_allowed,_denied):
|
||||
|
||||
def check_for_yaml():
|
||||
#checking if the file exists
|
||||
if exists("/etc/confluent/authorization.yaml"):
|
||||
if os.path.exists("/etc/confluent/authorization.yaml"):
|
||||
add_roles(_allowedbyrole,_deniedbyrole)
|
||||
|
||||
return "Custom auth. file detected in /etc/confluent, updated roles accordingly"
|
||||
|
Loading…
x
Reference in New Issue
Block a user