Skip to content

Commit

Permalink
Merge pull request #3578 from PetrusZ/cp/release-3.0.0-0607_#3576
Browse files Browse the repository at this point in the history
cherry pick #3576 to release 3.0.0-0607
  • Loading branch information
jamsman94 committed Jun 20, 2024
2 parents 31f963c + 6121734 commit e71c9b6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func (s *DownloadArchiveStep) Run(ctx context.Context) error {

destPath := path.Join(s.workspace, s.spec.DestDir, fileName)
objectKey := strings.TrimLeft(path.Join(s.spec.S3.Subfolder, s.spec.ObjectPath, fileName), "/")
if s.spec.UnTar {
if !s.spec.UnTar {
err = client.Download(s.spec.S3.Bucket, objectKey, destPath)
if err != nil {
if s.spec.IgnoreErr {
Expand Down

0 comments on commit e71c9b6

Please sign in to comment.