From a1e7e3405404ba7f02183c6ed5ef5577701de907 Mon Sep 17 00:00:00 2001 From: Andreas Olsson Date: Sat, 30 Mar 2024 15:51:00 +0100 Subject: [PATCH] WIP: missing brackets --- vault_oidc_ssh_cert_action.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vault_oidc_ssh_cert_action.py b/vault_oidc_ssh_cert_action.py index 2c0ed89..346ce8e 100644 --- a/vault_oidc_ssh_cert_action.py +++ b/vault_oidc_ssh_cert_action.py @@ -45,7 +45,7 @@ def _issue_vault_token( response = requests.post(login_url, data=payload, timeout=10) response.raise_for_status() except requests.exceptions.RequestException as request_error: - message = f"{type(request_error).__name__}: str(request_error)" + message = f"{type(request_error).__name__}: {str(request_error)}" _set_error_message("Vault login error", message) raise VoscaError from request_error