From f8bcee0d90db12fcca27ac330ff5106b764faf68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Douglas=20Mendiz=C3=A1bal?= Date: Thu, 9 Apr 2020 14:16:14 -0500 Subject: [PATCH] Fix stale references to renamed constant Change-Id: I5d2bda5e653ee5d7c17cb7697247802916bdc5f7 --- castellan/options.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/castellan/options.py b/castellan/options.py index 64dd106f..6c1991d6 100644 --- a/castellan/options.py +++ b/castellan/options.py @@ -110,25 +110,25 @@ def set_defaults(conf, backend=None, barbican_endpoint=None, if vkm is not None: if vault_root_token_id is not None: conf.set_default('root_token_id', vault_root_token_id, - group=vkm.VAULT_OPT_GROUP) + group=vkm._VAULT_OPT_GROUP) if vault_approle_role_id is not None: conf.set_default('approle_role_id', vault_approle_role_id, - group=vkm.VAULT_OPT_GROUP) + group=vkm._VAULT_OPT_GROUP) if vault_approle_secret_id is not None: conf.set_default('approle_secret_id', vault_approle_secret_id, - group=vkm.VAULT_OPT_GROUP) + group=vkm._VAULT_OPT_GROUP) if vault_kv_mountpoint is not None: conf.set_default('kv_mountpoint', vault_kv_mountpoint, - group=vkm.VAULT_OPT_GROUP) + group=vkm._VAULT_OPT_GROUP) if vault_url is not None: conf.set_default('vault_url', vault_url, - group=vkm.VAULT_OPT_GROUP) + group=vkm._VAULT_OPT_GROUP) if vault_ssl_ca_crt_file is not None: conf.set_default('ssl_ca_crt_file', vault_ssl_ca_crt_file, - group=vkm.VAULT_OPT_GROUP) + group=vkm._VAULT_OPT_GROUP) if vault_use_ssl is not None: conf.set_default('use_ssl', vault_use_ssl, - group=vkm.VAULT_OPT_GROUP) + group=vkm._VAULT_OPT_GROUP) def enable_logging(conf=None, app_name='castellan'):