@@ -235,20 +235,20 @@ int CTPRunManager::processMessage(std::string& topic, const std::string& message
235235 if (topic.find (" soxorbit" ) != std::string::npos) {
236236 std::vector<std::string> tokens = o2::utils::Str::tokenize (message, ' ' );
237237 int ret = 0 ;
238- if (tokens.size () == 3 ) {
238+ if (tokens.size () == 3 ) {
239239 long timestamp = std::stol (tokens[0 ]);
240240 uint32_t runnumber = std::stoul (tokens[1 ]);
241241 uint32_t orbit = std::stoul (tokens[2 ]);
242- ret = saveSoxOrbit (timestamp,runnumber,orbit);
243- LOG (info) << " soxorbit: " << timestamp << " " << runnumber << " " << orbit;
242+ ret = saveSoxOrbit (timestamp, runnumber, orbit);
243+ LOG (info) << " soxorbit: " << timestamp << " " << runnumber << " " << orbit;
244244 std::string logmessage;
245- if (ret) {
245+ if (ret) {
246246 logmessage = " Failed to update CCDB with SOX orbit." ;
247247 } else {
248248 logmessage = " CCDB updated with SOX orbit." ;
249249 }
250250 int rlog = mInfoLogger .log (logmessage.c_str ());
251- if (rlog) {
251+ if (rlog) {
252252 LOG (warn) << " Writing to infologger failed." ;
253253 }
254254 } else {
@@ -260,19 +260,19 @@ int CTPRunManager::processMessage(std::string& topic, const std::string& message
260260 if (topic.find (" orbitreset" ) != std::string::npos) {
261261 std::vector<std::string> tokens = o2::utils::Str::tokenize (message, ' ' );
262262 int ret = 0 ;
263- if (tokens.size () == 1 ) {
263+ if (tokens.size () == 1 ) {
264264 long timestamp = std::stol (tokens[0 ]);
265265 ret = saveOrbitReset (timestamp);
266266 LOG (info) << " orbitreset: " << timestamp;
267267 std::string logmessage;
268- if (ret) {
268+ if (ret) {
269269 logmessage = " Failed to update CCDB with orbitreset." ;
270270 return 1 ;
271271 } else {
272272 logmessage = " CCDB updated with orbitreset." ;
273273 }
274274 int rlog = mInfoLogger .log (logmessage.c_str ());
275- if (rlog) {
275+ if (rlog) {
276276 LOG (warn) << " Writing to infologger failed." ;
277277 }
278278 } else {
0 commit comments