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:
@@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user