Github user phrocker commented on a diff in the pull request:
https://github.com/apache/nifi-minifi-cpp/pull/41#discussion_r99357721
--- Diff: libminifi/src/FlowController.cpp ---
@@ -75,22 +78,123 @@ FlowController::FlowController(std::string name)
}
}
- path = realpath(adjustedFilename.c_str(), full_path);
+ path = realpath(adjustedFilename.c_str(), full_path);
if (!path)
{
_logger->log_error("Could not locate path from provided
configuration file name (%s). Exiting.", full_path);
exit(1);
}
- std::string pathString(path);
- _configurationFileName = pathString;
- _logger->log_info("FlowController NiFi Configuration file %s",
pathString.c_str());
+ std::string pathString(path);
--- End diff --
Would it make sense to break this out into a separate class to reduce
coupling with the security library within the FlowController?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---