mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-17 13:47:49 +00:00
fix: Vault proxy
This commit is contained in:
parent
0ae2f04f28
commit
230924baac
@ -1,6 +1,6 @@
|
|||||||
from importlib import import_module
|
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 common.utils import get_logger
|
||||||
from ..const import VaultTypeChoices
|
from ..const import VaultTypeChoices
|
||||||
@ -44,5 +44,4 @@ vault_client = VaultClient()
|
|||||||
|
|
||||||
|
|
||||||
def refresh_vault_client():
|
def refresh_vault_client():
|
||||||
vault_client._wrapped = None
|
vault_client._wrapped = empty
|
||||||
vault_client._setup()
|
|
||||||
|
Loading…
Reference in New Issue
Block a user