fix: Vault proxy

pull/14507/head
feng 2024-11-21 13:36:00 +08:00 committed by ZhaoJiSen
parent 0ae2f04f28
commit 230924baac
1 changed files with 2 additions and 3 deletions

View File

@ -1,6 +1,6 @@
from importlib import import_module
from django.utils.functional import LazyObject
from django.utils.functional import LazyObject, empty
from common.utils import get_logger
from ..const import VaultTypeChoices
@ -44,5 +44,4 @@ vault_client = VaultClient()
def refresh_vault_client():
vault_client._wrapped = None
vault_client._setup()
vault_client._wrapped = empty