NIFI-889: Return the failure relationshp in the set of allowed relationships

This commit is contained in:
Mark Payne 2015-08-22 20:47:45 -04:00
parent 671445f10a
commit 4d4f74cf05
1 changed files with 1 additions and 0 deletions

View File

@ -94,6 +94,7 @@ public class ExecuteSQL extends AbstractProcessor {
public ExecuteSQL() { public ExecuteSQL() {
final Set<Relationship> r = new HashSet<>(); final Set<Relationship> r = new HashSet<>();
r.add(REL_SUCCESS); r.add(REL_SUCCESS);
r.add(REL_FAILURE);
relationships = Collections.unmodifiableSet(r); relationships = Collections.unmodifiableSet(r);
final List<PropertyDescriptor> pds = new ArrayList<>(); final List<PropertyDescriptor> pds = new ArrayList<>();