Skip to content

Commit

Permalink
Merge pull request #29 from OpenNeuroOrg/canceled-ignore
Browse files Browse the repository at this point in the history
Ignore canceled/deleted for existing job check also
  • Loading branch information
nellh authored Aug 31, 2017
2 parents ffa71b7 + a34e5a8 commit 2689309
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/libs/aws/batch.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,8 @@ export default (aws) => {
jobDefinition: job.jobDefinition,
datasetHash: job.datasetHash,
parametersHash: job.parametersHash,
snapshotId: job.snapshotId
snapshotId: job.snapshotId,
deleted: {$ne: true}
}, {}, (err, existingJob) => {
if (err) {
return callback(err);
Expand Down

0 comments on commit 2689309

Please sign in to comment.