You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by GitBox <gi...@apache.org> on 2021/03/30 13:17:26 UTC

[GitHub] [nifi] markap14 commented on a change in pull request #4950: NIFI-8380: Allow for an extensions.directory property to specify wher…

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:
users@infra.apache.org