Skip to content

Commit

Permalink
fixed update to save unparse job config resolves terascope#634
Browse files Browse the repository at this point in the history
  • Loading branch information
jsnoble committed Jan 19, 2018
1 parent 0c57bc5 commit 8597b83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cluster/services/jobs.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ module.exports = function module(context) {
function updateJob(jobId, updatedJob) {
return _ensureAssets(updatedJob)
.then(parsedUpdatedJob => _validateJob(parsedUpdatedJob))
.then(validJob => jobStore.update(jobId, validJob))
.then(validJob => jobStore.update(jobId, updatedJob))
.catch((err) => {
const errMsg = parseError(err);
logger.error('could not updateJob', errMsg);
Expand Down

0 comments on commit 8597b83

Please sign in to comment.