-
Notifications
You must be signed in to change notification settings - Fork 399
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ORACLE: Abide by 429-style rate limits, fix Nameserver update bug (#3090
- Loading branch information
1 parent
8bb5df9
commit 0de789f
Showing
3 changed files
with
88 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,19 @@ | ||
package oracle | ||
|
||
import "github.com/StackExchange/dnscontrol/v4/models" | ||
import ( | ||
"github.com/StackExchange/dnscontrol/v4/models" | ||
"github.com/StackExchange/dnscontrol/v4/pkg/rejectif" | ||
) | ||
|
||
// AuditRecords returns a list of errors corresponding to the records | ||
// that aren't supported by this provider. If all records are | ||
// supported, an empty list is returned. | ||
func AuditRecords(records []*models.RecordConfig) []error { | ||
return nil | ||
a := rejectif.Auditor{} | ||
|
||
a.Add("TXT", rejectif.TxtIsEmpty) // Last verified 2024-08-21 | ||
a.Add("TXT", rejectif.TxtHasBackslash) // Last verified 2024-08-21 | ||
a.Add("TXT", rejectif.TxtHasDoubleQuotes) // Last verified 2024-08-21 | ||
|
||
return a.Audit(records) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters