markap14 commented on a change in pull request #4950:
URL: https://github.com/apache/nifi/pull/4950#discussion_r604086680
##########
File path:
nifi-external/nifi-kafka-connect/nifi-kafka-connector/src/main/java/org/apache/nifi/kafka/connect/validators/ConnectDirectoryExistsValidator.java
##########
@@ -34,7 +34,7 @@ public void ensureValid(final String name, final Object
value) {
}
final File file = new File((String) value);
- if (!file.exists()) {
+ if (!file.exists() && !file.mkdirs()) {
Review comment:
No, you're right, that shouldn't be there. I put it there as a bit of an
experiment, and forgot to remove it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]