Skip to content

Commit 24e020e

Browse files
committed
EPNLogging: runNumber is provided as string not integer
1 parent e38dfc3 commit 24e020e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Utilities/EPNMonitoring/src/EPNstderrMonitor.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ struct EPNstderrMonitor : fair::mq::Device {
226226
bool dds = std::find(plugins.begin(), plugins.end(), "ODC") != plugins.end();
227227
}
228228

229-
bool runNumber = dds ? fConfig->GetProperty<int>("runNumber") : 0;
229+
bool runNumber = dds ? atoi(fConfig->GetProperty<std::string>("runNumber").c_str()) : 0;
230230
std::string partition = "";
231231
gEPNMonitor = std::make_unique<EPNMonitor>(path, infoLogger, runNumber, partition);
232232
}

0 commit comments

Comments
 (0)