Skip to content

Commit

Permalink
Fix run and forget input parameter error
Browse files Browse the repository at this point in the history
  • Loading branch information
gschueler committed Mar 5, 2011
1 parent 3d716f1 commit 0242d4d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions rundeckapp/grails-app/services/ExecutionService.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -897,11 +897,13 @@ class ExecutionService implements ApplicationContextAware, Executor{
if(!props.user){
props.user=user
}
if('true' == extra['_replaceNodeFilters']){
if(extra && 'true' == extra['_replaceNodeFilters']){
//remove all existing node filters to replace with input filters
props = props.findAll {!(it.key=~/^node(Include|Exclude).*$/)}
}
props.putAll(extra)
if(extra){
props.putAll(extra)
}

//evaluate embedded Job options for Regex match against input values

Expand Down

0 comments on commit 0242d4d

Please sign in to comment.