Skip to content

Commit

Permalink
fixed bug causing stager jobs not submitted
Browse files Browse the repository at this point in the history
  • Loading branch information
hurngchunlee committed Aug 24, 2024
1 parent 34c2a86 commit ded23de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion streamer/lib/modalityMEG.js
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ var _execStreamerJob = function(name, config, job, cb_remove, cb_done) {
}

// post new jobs to stager
if ( rpost_args.data.length > 0 ) {
if ( rpost_args.data.jobs.length > 0 ) {
c_stager.post(sconfig.url + '/jobs', rpost_args, function(rdata, resp) {
if ( resp.statusCode >= 400 ) { //HTTP error
var errmsg = 'HTTP error: (' + resp.statusCode + ') ' + resp.statusMessage;
Expand Down

0 comments on commit ded23de

Please sign in to comment.