Skip to content

Commit

Permalink
Merge pull request #123 from jearls/fix-zone-allow-transfer
Browse files Browse the repository at this point in the history
fix zone template's @allow_transfer check
  • Loading branch information
solarkennedy committed May 31, 2015
2 parents 80fc453 + c6fe9e7 commit 5261b86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/zone.erb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type <%= @zone_type %>;
<% if @zone_type == 'slave' -%>
masters { <%= @slave_masters %>;};
<% elsif @zone_type == 'master' -%>
<% if @allow_transfer -%>
<% if @allow_transfer.is_a?(Array) and @allow_transfer.size != 0 -%>
allow-transfer {
<% @allow_transfer.each do |ip| -%>
<%= ip %>;
Expand Down

0 comments on commit 5261b86

Please sign in to comment.