mirror of https://github.com/apache/nifi.git
NIFI-45: - Include entire toString of validation result when referenced Controller Services are invalid.
Signed-off-by: Aldrin Piri <aldrin@apache.org>
This commit is contained in:
parent
93e2c52195
commit
5c36358bc2
|
@ -166,8 +166,7 @@ public final class PropertyDescriptor implements Comparable<PropertyDescriptor>
|
|||
.input(input)
|
||||
.subject(getName())
|
||||
.valid(false)
|
||||
.explanation("Controller Service is not valid: "
|
||||
+ ((result.getExplanation() == null || result.getExplanation().trim().isEmpty()) ? "(Service does not provide any explanation)" : result.getExplanation()))
|
||||
.explanation("Controller Service is not valid: " + result)
|
||||
.build();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue