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

GANDI_V5: supports DS records already (#1112)

* Simply mark DS as supported, let existing tests handle it.
* Fix trivial typo in diagnostic feedback from model SetTargetDSString()
* The support matrix includes more changes because it was stale.
This commit is contained in:
Phil Pennock
2021-03-29 10:04:36 -04:00
committed by GitHub
parent eb3d7c3e0b
commit 059b58ed9e
4 changed files with 54 additions and 3 deletions

View File

@@ -46,7 +46,7 @@ func (rc *RecordConfig) SetTargetDSStrings(keytag, algorithm, digesttype, digest
func (rc *RecordConfig) SetTargetDSString(s string) error {
part := strings.Fields(s)
if len(part) != 4 {
return errors.Errorf("DS value does not contain 5 fields: (%#v)", s)
return errors.Errorf("DS value does not contain 4 fields: (%#v)", s)
}
return rc.SetTargetDSStrings(part[0], part[1], part[2], part[3])
}