From bc34a9881da61e0afe1a86c3bed8f9f019b56019 Mon Sep 17 00:00:00 2001 From: Nate Riffe Date: Wed, 20 Apr 2016 14:11:50 -0500 Subject: [PATCH] Add missing `end` on `@servers` iteration Also normalize the indentation. Ruby code is 2-space indented, templated configuration is tab indented. --- templates/view.erb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/templates/view.erb b/templates/view.erb index de0b548..e816fd0 100644 --- a/templates/view.erb +++ b/templates/view.erb @@ -45,12 +45,13 @@ view "<%= @name %>" { keys { <%= properties['keys'] %>; }; <%- end -%> }; +<%- end -%> <%- end -%> <%- if @also_notify and @also_notify != '' -%> also-notify { -<%- Array(@also_notify).each do |server| -%> +<%- Array(@also_notify).each do |server| -%> <%= server %>; -<%- end -%> +<%- end -%> }; <%- end -%> <%- if @notify_source and @notify_source != '' -%>