From 815ac34985e362952309e39350928aa28115ce3d Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 24 Mar 2016 12:23:07 -0300 Subject: Fix deprecation warnings --- templates/mx-record.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/mx-record.erb') diff --git a/templates/mx-record.erb b/templates/mx-record.erb index a8ec89d..23b3a81 100644 --- a/templates/mx-record.erb +++ b/templates/mx-record.erb @@ -1,5 +1,5 @@ <% if ttl -%> -<%=owner%> <%=ttl%> IN MX <%=priority%> <%=host%> +<%=@owner%> <%=@ttl%> IN MX <%=@priority%> <%=@host%> <% else -%> -<%=owner%> IN MX <%=priority%> <%=host%> +<%=@owner%> IN MX <%=@priority%> <%=@host%> <% end -%> -- cgit v1.2.3