forked from coop-cloud/abra
fix: dont check ip on server when it is local
Closes coop-cloud/organising#334.
This commit is contained in:
parent
42a6818ff4
commit
e41caa891d
|
@ -65,6 +65,10 @@ func EnsureIPv4(domainName string) (string, error) {
|
|||
|
||||
// EnsureDomainsResolveSameIPv4 ensures that domains resolve to the same ipv4 address
|
||||
func EnsureDomainsResolveSameIPv4(domainName, server string) (string, error) {
|
||||
if server == "default" || server == "local" {
|
||||
return "", nil
|
||||
}
|
||||
|
||||
var ipv4 string
|
||||
|
||||
domainIPv4, err := EnsureIPv4(domainName)
|
||||
|
|
Loading…
Reference in New Issue