fix(script): set default tag to label (#223)

This commit is contained in:
NBonaparte 2016-12-04 13:09:57 -08:00 committed by Michael Carlberg
parent 16b7d09d63
commit a22e84204d
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ namespace modules {
m_interval = chrono::duration<double>{m_conf.get<double>(name(), "interval", m_tail ? 0.0 : 5.0)};
m_formatter->add(DEFAULT_FORMAT, TAG_OUTPUT, {TAG_OUTPUT, TAG_LABEL});
m_formatter->add(DEFAULT_FORMAT, TAG_LABEL, {TAG_OUTPUT, TAG_LABEL});
if (m_formatter->has(TAG_LABEL)) {
m_label = load_optional_label(m_conf, name(), "label", "%output%");