Skip to content

Commit

Permalink
Merge pull request #135 from DUNE-DAQ/johnfreeman/daq-release_issue37…
Browse files Browse the repository at this point in the history
…6_renames_for_v5_pt2

JCF: update names as described in today's comment in DUNE-DAQ/daq-rel…
  • Loading branch information
jcfreeman2 authored Jun 18, 2024
2 parents e0f6e3d + 7c2307b commit 48c2c2d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugins/DPDKReaderModule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

#include "confmodel/DetectorToDaqConnection.hpp"

#include "appmodel/DataReceiverModule.hpp"
#include "appmodel/DataReaderModule.hpp"
#include "appmodel/DPDKReaderConf.hpp"
#include "appmodel/DPDKPortConfiguration.hpp"
#include "confmodel/ProcessingResource.hpp"
Expand Down Expand Up @@ -93,7 +93,7 @@ tokenize(std::string const& str, const char delim, std::vector<std::string>& out
void
DPDKReaderModule::init(const std::shared_ptr<appfwk::ModuleConfiguration> mcfg )
{
auto mdal = mcfg->module<appmodel::DataReceiverModule>(get_name());
auto mdal = mcfg->module<appmodel::DataReaderModule>(get_name());
m_cfg = mcfg;
if (mdal->get_outputs().empty()) {
auto err = dunedaq::readoutlibs::InitializationError(ERS_HERE, "No outputs defined for NIC reader in configuration.");
Expand Down Expand Up @@ -131,7 +131,7 @@ DPDKReaderModule::do_configure(const data_t& /*args*/)
{
TLOG() << get_name() << ": Entering do_conf() method";
//auto session = appfwk::ModuleManager::get()->session();
auto mdal = m_cfg->module<appmodel::DataReceiverModule>(get_name());
auto mdal = m_cfg->module<appmodel::DataReaderModule>(get_name());
auto module_conf = mdal->get_configuration()->cast<appmodel::DPDKReaderConf>();
auto res_set = mdal->get_connections();
// EAL setup
Expand Down

0 comments on commit 48c2c2d

Please sign in to comment.