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

CHORE: Linting and comment-fixing (#2937)

This commit is contained in:
Tom Limoncelli
2024-05-07 14:47:28 -04:00
committed by GitHub
parent 6817e08baa
commit 1fa92de07e
7 changed files with 14 additions and 3 deletions

View File

@ -1,5 +1,6 @@
package models
// MakeUnknown turns an RecordConfig into an UNKNOWN type.
func MakeUnknown(rc *RecordConfig, rtype string, contents string, origin string) error {
rc.Type = "UNKNOWN"
rc.UnknownTypeName = rtype