Skip to content

Commit 1eed130

Browse files
committed
update
1 parent 08d5409 commit 1eed130

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

services/actions/cleanup.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -225,9 +225,7 @@ func DeleteRun(ctx context.Context, run *actions_model.ActionRun) error {
225225

226226
// Delete files on storage
227227
for _, tas := range tasks {
228-
if err := actions_module.RemoveLogs(ctx, tas.LogInStorage, tas.LogFilename); err != nil {
229-
log.Error("remove log file %q: %v", tas.LogFilename, err)
230-
}
228+
removeTaskLog(ctx, tas)
231229
}
232230
for _, art := range artifacts {
233231
if err := storage.ActionsArtifacts.Delete(art.StoragePath); err != nil {

0 commit comments

Comments
 (0)