mirror of
https://github.com/matrix-org/synapse-s3-storage-provider.git
synced 2024-10-23 07:29:40 +00:00
Fix run_upload eargs
This commit is contained in:
parent
3e3f059f6c
commit
4ab0624023
1 changed files with 3 additions and 3 deletions
|
@ -302,7 +302,7 @@ def run_check_delete(sqlite_conn, base_path):
|
||||||
print("Updated", len(deleted), "as deleted")
|
print("Updated", len(deleted), "as deleted")
|
||||||
|
|
||||||
|
|
||||||
def run_upload(s3, bucket, sqlite_conn, base_path, should_delete, storage_class):
|
def run_upload(s3, bucket, sqlite_conn, base_path, eargs, should_delete):
|
||||||
"""Entry point for upload command
|
"""Entry point for upload command
|
||||||
"""
|
"""
|
||||||
total = get_not_deleted_count(sqlite_conn)
|
total = get_not_deleted_count(sqlite_conn)
|
||||||
|
@ -571,8 +571,8 @@ def main():
|
||||||
args.bucket,
|
args.bucket,
|
||||||
sqlite_conn,
|
sqlite_conn,
|
||||||
args.base_path,
|
args.base_path,
|
||||||
should_delete=args.delete,
|
eargs,
|
||||||
eargs=eargs
|
should_delete=args.delete
|
||||||
)
|
)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue