aminadinari19 commented on a change in pull request #1040:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1040#discussion_r621955763



##########
File path: extensions/sftp/processors/SFTPProcessorBase.cpp
##########
@@ -180,7 +180,7 @@ void 
SFTPProcessorBase::parseCommonPropertiesOnSchedule(const std::shared_ptr<co
   if (!context->getProperty(SendKeepaliveOnTimeout.getName(), value)) {
     logger_->log_error("Send Keep Alive On Timeout attribute is missing or 
invalid");
   } else {
-    utils::StringUtils::StringToBool(value, use_keepalive_on_timeout_);
+    use_keepalive_on_timeout_ = 
utils::StringUtils::toBool(value).value_or(false);

Review comment:
       Fixed :)




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


Reply via email to