phrocker commented on a change in pull request #595: Add windows tests
URL: https://github.com/apache/nifi-minifi-cpp/pull/595#discussion_r295778437
 
 

 ##########
 File path: extensions/standard-processors/processors/GetFile.cpp
 ##########
 @@ -163,11 +157,13 @@ void GetFile::onTrigger(core::ProcessContext *context, 
core::ProcessSession *ses
     if (request_.pollInterval == 0 || (getTimeMillis() - last_listing_time_) > 
request_.pollInterval) {
       std::string directory;
       const std::shared_ptr<core::FlowFile> flow_file;
-      if (!context->getProperty(Directory, directory, flow_file)) {
+      if (context->getProperty(Directory, directory, flow_file)) {
 
 Review comment:
   This appeared to be a logical error found via windows tests. 

----------------------------------------------------------------
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]


With regards,
Apache Git Services

Reply via email to