fix container_creation_retry
Some checks failed
DCO action / DCO (pull_request) Failing after 37s
Tests and linters / Tests (1.21) (pull_request) Successful in 2m8s
Tests and linters / Tests (1.22) (pull_request) Successful in 2m15s
Tests and linters / Tests with -race (pull_request) Successful in 2m14s
Tests and linters / Lint (pull_request) Successful in 3m26s

Signed-off-by: Liza <e.chichindaeva@yadro.com>
This commit is contained in:
Elizaveta Chichindaeva 2024-08-30 16:18:58 +03:00
parent 6d3ecb6528
commit 3bf41e626e

View file

@ -88,7 +88,7 @@ def create_container(endpoint, policy, container_creation_retry, wallet_path, co
return cid return cid
log(f"Created container {cid} is not stored on {endpoint}, creating another one...", endpoint) log(f"Created container {cid} is not stored on {endpoint}, creating another one...", endpoint)
return create_container(endpoint, policy, wallet_path, config, acl, local, retry + 1) return create_container(endpoint, policy, container_creation_retry, wallet_path, config, acl, local, retry + 1)
def upload_object(container, payload_filepath, endpoint, wallet_file, wallet_config): def upload_object(container, payload_filepath, endpoint, wallet_file, wallet_config):