Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gioelecerati committed Jun 6, 2024
1 parent e9c17c8 commit 945d2e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion task/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -634,10 +634,10 @@ func deleteAsset(asset *api.Asset, r *runner, ctx context.Context) error {
glog.Errorf("Error listing files for asset %v: %v", asset.ID, err)
return err
}
glog.Infof("Found %v files for asset %v", len(pi.Files()), asset.ID)
isErr := false

for pi != nil {
glog.Infof("Found %v files for asset %v", len(pi.Files()), asset.ID)
for _, file := range pi.Files() {
glog.Infof("Found file %v", file.Name)
err := assetOS.DeleteFile(ctx, file.Name)
Expand Down

0 comments on commit 945d2e2

Please sign in to comment.