martinzink commented on code in PR #1993:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1993#discussion_r2298203154
##########
libminifi/src/core/repository/FileSystemRepository.cpp:
##########
@@ -17,19 +17,22 @@
*/
#include "core/repository/FileSystemRepository.h"
-#include <string>
+
#include <filesystem>
+#include <string>
+
+#include "core/ForwardingContentSession.h"
#include "io/FileStream.h"
+#include "utils/Locations.h"
#include "utils/file/FileUtils.h"
-#include "core/ForwardingContentSession.h"
namespace org::apache::nifi::minifi::core::repository {
bool FileSystemRepository::initialize(const std::shared_ptr<Configure>&
configuration) {
if (std::string directory_str;
configuration->get(Configure::nifi_dbcontent_repository_directory_default,
directory_str) && !directory_str.empty()) {
directory_ = directory_str;
} else {
- directory_ = configuration->getHome().string();
+ directory_ = utils::getMinifiDir();
Review Comment:
thanks 👍 looked into it and it does look snowbally so I will not burden the
PR with that
https://github.com/apache/nifi-minifi-cpp/pull/1993/commits/611e3d99523a21e506450fc78cc9cc2c69f501ac
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]