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