Skip to content

Commit

Permalink
Merge pull request #341 from appgate/revert-check
Browse files Browse the repository at this point in the history
Revert "site.name_resolution.dns_forwarding requires at least site_ipv4 or site_ipv6"
  • Loading branch information
mandopaloooza authored Nov 28, 2023
2 parents 547b910 + 5c268bb commit ab138c2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions appgate/resource_appgate_site.go
Original file line number Diff line number Diff line change
Expand Up @@ -1221,9 +1221,6 @@ func readSiteNameResolutionFromConfig(currentVersion *version.Version, nameresol
}
result.SetDnsForwarding(dnsForwardingResolvers)
}
if dnsForwardingResolvers.SiteIpv4 == nil && dnsForwardingResolvers.SiteIpv6 == nil {
return result, errors.New("either site_ipv4 or site_ipv6 must be set")
}
}
if currentVersion.GreaterThanOrEqual(Appliance61Version) {
if v, ok := raw["illumio_resolvers"]; ok {
Expand Down

0 comments on commit ab138c2

Please sign in to comment.