Rename use_auth to use_perms
This commit is contained in:
@@ -78,8 +78,8 @@ class AntiEtcdAdapter
|
||||
delete antietcd_config.cluster;
|
||||
delete antietcd_config.cluster_key;
|
||||
}
|
||||
const use_auth = config.use_auth || config.use_auth == null && config.client_ca;
|
||||
if (use_auth)
|
||||
const use_perms = config.use_perms || config.use_perms == null && config.client_ca;
|
||||
if (use_perms)
|
||||
{
|
||||
antietcd_config.client_cert_auth = true;
|
||||
antietcd_config.auth_filter = vitastor_auth_filter;
|
||||
|
||||
Reference in New Issue
Block a user