mirror of https://github.com/apache/nifi.git
NIFI-889: Return the failure relationshp in the set of allowed relationships
This commit is contained in:
parent
671445f10a
commit
4d4f74cf05
|
@ -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<>();
|
||||||
|
|
Loading…
Reference in New Issue