Skip to content

Commit

Permalink
Remove .tar from path
Browse files Browse the repository at this point in the history
skopeo removed the expectation that the file ends in .tar, which is not
consistent with the tar spec.

containers/image#419
fixes: #3705
  • Loading branch information
asmacdo committed Jun 4, 2018
1 parent 3a6d9a9 commit 63d41ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/pulp_docker/plugins/importers/upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ def process_main(self, item=None):
if not checksum_type:
# Never assume. But oh well
checksum_type = "sha256"
blob_src_path = os.path.join(self.get_working_dir(), checksum + '.tar')
blob_src_path = os.path.join(self.get_working_dir(), checksum)
try:
fobj = open(blob_src_path)
except IOError:
Expand Down

0 comments on commit 63d41ee

Please sign in to comment.