diff --git a/templates/agent-conf.d/mysql.yaml.erb b/templates/agent-conf.d/mysql.yaml.erb index 4d5b705e..44c82873 100644 --- a/templates/agent-conf.d/mysql.yaml.erb +++ b/templates/agent-conf.d/mysql.yaml.erb @@ -52,4 +52,4 @@ instances: <% end -%> -<%= {'logs'=>@logs}.to_yaml %> +<%= (Array({'logs'=>@logs}.to_yaml.lines))[1..-1].join %> \ No newline at end of file