From a22e84204d7493c906b5ff548534d61e2061a0d1 Mon Sep 17 00:00:00 2001 From: NBonaparte <98007b33@opayq.com> Date: Sun, 4 Dec 2016 13:09:57 -0800 Subject: [PATCH] fix(script): set default tag to label (#223) --- src/modules/script.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/script.cpp b/src/modules/script.cpp index 64119bba..8447ef50 100644 --- a/src/modules/script.cpp +++ b/src/modules/script.cpp @@ -27,7 +27,7 @@ namespace modules { m_interval = chrono::duration{m_conf.get(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%");