Skip to content
Snippets Groups Projects
Commit 3cc2d2a2 authored by Michael Davis's avatar Michael Davis
Browse files

[lpa-stream] Removes blank line after header

parent 6f034b70
No related branches found
No related tags found
No related merge requests found
...@@ -68,6 +68,7 @@ void IStreamBuffer<cta::xrd::Data>::DataCallback(cta::xrd::Data record) const ...@@ -68,6 +68,7 @@ void IStreamBuffer<cta::xrd::Data>::DataCallback(cta::xrd::Data record) const
default: default:
throw std::runtime_error("Not implemented/received invalid stream data from CTA Frontend."); throw std::runtime_error("Not implemented/received invalid stream data from CTA Frontend.");
} }
break;
case Data::kAfSummaryItemFieldNumber : switch(record.af_summary_item().type()) case Data::kAfSummaryItemFieldNumber : switch(record.af_summary_item().type())
{ {
...@@ -76,6 +77,7 @@ void IStreamBuffer<cta::xrd::Data>::DataCallback(cta::xrd::Data record) const ...@@ -76,6 +77,7 @@ void IStreamBuffer<cta::xrd::Data>::DataCallback(cta::xrd::Data record) const
default: default:
throw std::runtime_error("Not implemented/received invalid stream data from CTA Frontend."); throw std::runtime_error("Not implemented/received invalid stream data from CTA Frontend.");
} }
break;
default: default:
throw std::runtime_error("Received invalid stream data from CTA Frontend."); throw std::runtime_error("Received invalid stream data from CTA Frontend.");
......
...@@ -82,7 +82,7 @@ private: ...@@ -82,7 +82,7 @@ private:
cta::xrd::Request m_request; //!< Protocol Buffer for the command and parameters cta::xrd::Request m_request; //!< Protocol Buffer for the command and parameters
static constexpr const char* const TEXT_RED = "\x1b[31;1m"; //!< Terminal formatting code for red text static constexpr const char* const TEXT_RED = "\x1b[31;1m"; //!< Terminal formatting code for red text
static constexpr const char* const TEXT_NORMAL = "\x1b[0m\n"; //!< Terminal formatting code for normal text static constexpr const char* const TEXT_NORMAL = "\x1b[0m"; //!< Terminal formatting code for normal text
static constexpr const char* const LOG_SUFFIX = "CtaAdminCmd"; //!< Identifier for log messages static constexpr const char* const LOG_SUFFIX = "CtaAdminCmd"; //!< Identifier for log messages
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment