Skip to content

Commit

Permalink
fix updating job with orchestrator via upload fails
Browse files Browse the repository at this point in the history
don't flush while saving the orchestrator

fix #1212
  • Loading branch information
gschueler committed May 12, 2015
1 parent 83e9f48 commit dfc90f8
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -1913,7 +1913,7 @@ class ScheduledExecutionService implements ApplicationContextAware{

if(params.orchestrator){
def result = _updateOrchestratorData(params, scheduledExecution)
scheduledExecution.orchestrator.save(flush: true)
scheduledExecution.orchestrator.save()
if (result.failed) {
failed = result.failed
}
Expand Down Expand Up @@ -2384,7 +2384,7 @@ class ScheduledExecutionService implements ApplicationContextAware{
parseOrchestratorFromParams(params)
if(params.orchestrator){
def result = _updateOrchestratorData(params, scheduledExecution)
scheduledExecution.orchestrator.save(flush: true)
scheduledExecution.orchestrator.save()
if (result.failed) {
failed = result.failed
}
Expand Down

0 comments on commit dfc90f8

Please sign in to comment.