mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
CHORE: More cleanups (#2632)
This commit is contained in:
@@ -215,6 +215,7 @@ func mkCompareBlobs(rc *models.RecordConfig, f func(*models.RecordConfig) string
|
||||
}
|
||||
}
|
||||
|
||||
// We do this to save memory. This assures the first return value uses the same memory as the second.
|
||||
lenWithoutTTL := len(comp)
|
||||
compFull := comp + fmt.Sprintf(" ttl=%d", rc.TTL)
|
||||
|
||||
|
Reference in New Issue
Block a user