mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-12-26 10:38:40 +08:00
fix interface{} in comments
This commit is contained in:
parent
670356140b
commit
8bd78a65fc
4 changed files with 4 additions and 5 deletions
|
|
@ -136,7 +136,7 @@ func TestRecordConfig_Copy(t *testing.T) {
|
|||
TlsaMatchingType: 3,
|
||||
R53Alias: map[string]string{"a": "eh", "b": "bee"},
|
||||
AzureAlias: map[string]string{"az": "az", "ure": "your"},
|
||||
// Original interface{},
|
||||
// Original any,
|
||||
},
|
||||
want: &RecordConfig{
|
||||
Type: "type",
|
||||
|
|
@ -174,7 +174,7 @@ func TestRecordConfig_Copy(t *testing.T) {
|
|||
TlsaMatchingType: 3,
|
||||
R53Alias: map[string]string{"a": "eh", "b": "bee"},
|
||||
AzureAlias: map[string]string{"az": "az", "ure": "your"},
|
||||
// Original interface{},
|
||||
// Original any,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ func Warnf(fmt string, args ...any) {
|
|||
}
|
||||
|
||||
// Errorf is called to print/format an error.
|
||||
// func Errorf(fmt string, args ...interface{}) {
|
||||
// func Errorf(fmt string, args ...any) {
|
||||
// DefaultPrinter.Errorf(fmt, args...)
|
||||
// }
|
||||
|
||||
|
|
|
|||
|
|
@ -279,7 +279,7 @@ type domainsResult struct {
|
|||
// BusinessUnit string `json:"businessUnit"`
|
||||
// BrandName string `json:"brandName"`
|
||||
// IdnReferenceName string `json:"idnReferenceName"`
|
||||
// CustomFields []interface{} `json:"customFields"`
|
||||
// CustomFields any `json:"customFields"`
|
||||
// Account struct {
|
||||
// AccountNumber string `json:"accountNumber"`
|
||||
// AccountName string `json:"accountName"`
|
||||
|
|
|
|||
|
|
@ -109,7 +109,6 @@ type zRec struct {
|
|||
type zoneRecord struct {
|
||||
XMLName xml.Name `xml:"struct"`
|
||||
Properties []Property `xml:"member"`
|
||||
// Properties map[string]interface{}
|
||||
}
|
||||
|
||||
// zoneRecordsResponse decodes the API zoneRecords call.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue