Skip to content

Commit

Permalink
Rebase fix
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdebreceni committed Mar 6, 2025
1 parent 8a25f52 commit 927544e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion extensions/python/PythonCreator.h
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ class PythonCreator : public minifi::core::CoreComponentImpl {
factory = std::make_unique<PythonObjectFactory>(path.string(), script_name.string(),
PythonProcessorType::MINIFI_TYPE, std::vector<std::filesystem::path>{python_lib_path, std::filesystem::path{pathListings.value()}}, qualified_module_name);
}
if (!registered_classes_.emplace(class_name, factory.get()).second) {
if (registered_classes_.emplace(class_name, factory.get()).second) {
core::getClassLoader().registerClass(class_name, std::move(factory));
} else {
logger_->log_warn("Ignoring duplicate python processor at '{}' with class '{}'", path.string(), class_name);
Expand Down
5 changes: 3 additions & 2 deletions libminifi/src/Funnel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@
*/

#include "Funnel.h"
#include "minifi-cpp/core/ProcessContext.h"

namespace org::apache::nifi::minifi {

void Funnel::onSchedule(core::ProcessContext&, core::ProcessSessionFactory&) {
addAutoTerminatedRelationship(Success);
void Funnel::onSchedule(core::ProcessContext& context, core::ProcessSessionFactory&) {
context.addAutoTerminatedRelationship(Success);
}

} // namespace org::apache::nifi::minifi

0 comments on commit 927544e

Please sign in to comment.