Skip to content

Commit 7ee4588

Browse files
committed
Bug Fix: Bulk deleting jobs tried to delete non-existent job logs causing storage log error noise.
1 parent 92d6eb8 commit 7ee4588

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/maint.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1003,7 +1003,7 @@ class Maintenance {
10031003
to_delete = job.files.map( function(file) { return file.path; } );
10041004
}
10051005

1006-
if (job.log_file_size || !job.output) {
1006+
if (job.log_file_size && !job.output) {
10071007
to_delete.push( 'logs/jobs/' + job.id + '/log.txt.gz' );
10081008
}
10091009

0 commit comments

Comments
 (0)