From 8d45300ee3d028cfcb45bf8b5a93d8c06939fcd5 Mon Sep 17 00:00:00 2001 From: blackandred <22807686+blackandred@users.noreply.github.com> Date: Thu, 1 Aug 2024 07:39:28 +0200 Subject: [PATCH] fix:Typos --- rbackup/filesystem.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rbackup/filesystem.py b/rbackup/filesystem.py index 45787cc..5d34d71 100644 --- a/rbackup/filesystem.py +++ b/rbackup/filesystem.py @@ -239,8 +239,8 @@ def create_fs(fs_type: str, remote_string: str) -> Filesystem: data = json.loads(remote_string) return S3( endpoint_url=from_dict_or_env(data, "endpoint", "RBACKUP_ENDPOINT", None), - access_key_id=from_dict_or_env(data, "access_key_id", "RBACKUP_ACCESS_KEY", None), - secret_access_key=from_dict_or_env(data, "secret_key", "RBACKUP_SECRET_KEY_ID", + access_key_id=from_dict_or_env(data, "access_key_id", "RBACKUP_ACCESS_KEY_ID", None), + secret_access_key=from_dict_or_env(data, "secret_key", "RBACKUP_SECRET_KEY", None), bucket_name=from_dict_or_env(data, "bucket_name", "RBACKUP_BUCKET_NAME", None), base_dir=from_dict_or_env(data, "base_dir", "RBACKUP_BASE_DIR", None), @@ -252,8 +252,8 @@ def create_fs(fs_type: str, remote_string: str) -> Filesystem: data = json.loads(remote_string) return S3Crypto( endpoint_url=from_dict_or_env(data, "endpoint", "RBACKUP_ENDPOINT", None), - access_key_id=from_dict_or_env(data, "access_key_id", "RBACKUP_ACCESS_KEY", None), - secret_key=from_dict_or_env(data, "secret_key", "RBACKUP_SECRET_KEY_ID", None), + access_key_id=from_dict_or_env(data, "access_key_id", "RBACKUP_ACCESS_KEY_ID", None), + secret_key=from_dict_or_env(data, "secret_key", "RBACKUP_SECRET_KEY", None), bucket_name=from_dict_or_env(data, "bucket_name", "RBACKUP_BUCKET_NAME", None), base_dir=from_dict_or_env(data, "base_dir", "RBACKUP_BASE_DIR", None), password=from_dict_or_env(data, "enc_password", "RBACKUP_ENC_PASSWORD", None),