1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

NS2: Update ns1 to 2.7.2 (#1857)

This commit is contained in:
Costas Drogos
2022-12-18 15:09:53 +01:00
committed by GitHub
parent 87c32df0c9
commit 7ad98a67f9
3 changed files with 3 additions and 10 deletions

View File

@@ -2,7 +2,6 @@ package ns1
import (
"encoding/json"
"errors"
"fmt"
"net/http"
"strconv"
@@ -62,12 +61,6 @@ func (n *nsone) EnsureDomainExists(domain string) error {
return nil
}
newZoneExistsError := errors.New("invalid: FQDN already exists in the view")
if errors.As(err, &newZoneExistsError) {
// XXX: FIX: This is an ugly workaround for https://github.com/ns1/ns1-go/issues/163. Remove when resolved.
return nil
}
return err
}