mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-02 15:07:21 +00:00
fix: Vault proxy
This commit is contained in:
parent
0ae2f04f28
commit
230924baac
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user