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

tests that would have caught tag renaming bug. js tests now don't marahsl expected through the go object. Instead minify both sides to compare

This commit is contained in:
Craig Peterson
2017-07-20 17:41:15 -04:00
parent d106c88488
commit 710d14b1a9
11 changed files with 41 additions and 25 deletions

View File

@@ -213,7 +213,7 @@ type DomainConfig struct {
Metadata map[string]string `json:"meta,omitempty"`
Records []*RecordConfig `json:"records"`
Nameservers []*Nameserver `json:"nameservers,omitempty"`
KeepUnknown bool `json:"keepunknown"`
KeepUnknown bool `json:"keepunknown,omitempty"`
}
func (dc *DomainConfig) Copy() (*DomainConfig, error) {