From 924625c4d115f60f25d9a369c8e3e32b1cdc1635 Mon Sep 17 00:00:00 2001 From: "xianzelin@huoxian.cn" Date: Mon, 13 Dec 2021 16:21:55 +0800 Subject: [PATCH] remove asscess key --- apiserver/utils.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/apiserver/utils.py b/apiserver/utils.py index dfe4b30..ea5a6a2 100644 --- a/apiserver/utils.py +++ b/apiserver/utils.py @@ -22,7 +22,12 @@ class OssDownloader(object): BUCKET_NAME = 'dongtai' @staticmethod - def download_file_to_path(access_key, access_key_secret, bucket_url, bucket_name, object_name, local_file, + def download_file_to_path(bucket_url, + bucket_name, + object_name, + local_file, + access_key, + access_key_secret, anonymous=True): """