diff --git a/turbo_hipster/lib/utils.py b/turbo_hipster/lib/utils.py index f9da679..0555ca7 100644 --- a/turbo_hipster/lib/utils.py +++ b/turbo_hipster/lib/utils.py @@ -204,8 +204,8 @@ def swift_push_file(job_log_dir, file_path, swift_config): os_options={'region_name': swift_config['region']}, tenant_name=swift_config['tenant'], auth_version=2.0) - obj = con.put_object(swift_config['container'], name, fd) - return obj + con.put_object(swift_config['container'], name, fd) + return swift_config['prepend_url'] + name def local_push_file(job_log_dir, file_path, local_config):