Commit f35a0266 authored by Michael Davis's avatar Michael Davis
Browse files

[cta-admin] Adds missing break statements in stream handler

parent cff8ae99
......@@ -70,6 +70,7 @@ void IStreamBuffer<cta::xrd::Data>::DataCallback(cta::xrd::Data record) const
default:
throw std::runtime_error("Not implemented/received invalid stream data from CTA Frontend.");
}
break;
case Data::kAfSummaryItemFieldNumber : switch(record.af_summary_item().type())
{
......@@ -78,6 +79,7 @@ void IStreamBuffer<cta::xrd::Data>::DataCallback(cta::xrd::Data record) const
default:
throw std::runtime_error("Not implemented/received invalid stream data from CTA Frontend.");
}
break;
default:
throw std::runtime_error("Received invalid stream data from CTA Frontend.");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment