Skip to content

Commit

Permalink
remove OS from s3 library path
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu authored and mseth10 committed May 4, 2020
1 parent 742066d commit 2665113
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cd/utils/artifact_repository.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ def get_s3_key_prefix(args: argparse.Namespace, subdir: str = '') -> str:
:param subdir: An optional subdirectory in which to store the files. Post-pended to the end of the prefix.
:return: A string containing the S3 key prefix to be used to uploading and downloading files to the artifact repository
"""
prefix = "{git_sha}/{libtype}/{os}/{variant}/".format(**vars(args))
prefix = "{git_sha}/{libtype}/{variant}/".format(**vars(args))
if subdir:
return "{}{}/".format(prefix, subdir)
return prefix
Expand Down

0 comments on commit 2665113

Please sign in to comment.