mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2026-02-11 19:33:07 +08:00
CHORE: go generate (#3182)
This commit is contained in:
parent
4190659152
commit
2abbab0c84
2 changed files with 10 additions and 10 deletions
|
|
@ -2322,15 +2322,15 @@ func makeTests() []*TestGroup {
|
|||
testgroup("GCORE metadata tests",
|
||||
only("GCORE"),
|
||||
tc("Add record with metadata", withMeta(a("@", "1.2.3.4"), map[string]string{
|
||||
"gcore_filters": "geodistance,false;first_n,false,2",
|
||||
"gcore_asn": "1234,2345",
|
||||
"gcore_continents": "as,na,an,sa,oc,eu,af",
|
||||
"gcore_countries": "cn,us",
|
||||
"gcore_latitude": "12.34",
|
||||
"gcore_longitude": "67.89",
|
||||
"gcore_notes": "test",
|
||||
"gcore_weight": "12",
|
||||
"gcore_ip": "1.2.3.4",
|
||||
"gcore_filters": "geodistance,false;first_n,false,2",
|
||||
"gcore_asn": "1234,2345",
|
||||
"gcore_continents": "as,na,an,sa,oc,eu,af",
|
||||
"gcore_countries": "cn,us",
|
||||
"gcore_latitude": "12.34",
|
||||
"gcore_longitude": "67.89",
|
||||
"gcore_notes": "test",
|
||||
"gcore_weight": "12",
|
||||
"gcore_ip": "1.2.3.4",
|
||||
})),
|
||||
tc("Update record with metadata", withMeta(a("@", "1.2.3.4"), map[string]string{
|
||||
"gcore_filters": "healthcheck,false;geodns,false;first_n,false,3",
|
||||
|
|
|
|||
|
|
@ -97,7 +97,7 @@ func (o *oracleProvider) ListZones() ([]string, error) {
|
|||
for listResp.OpcNextPage != nil {
|
||||
listResp, err = o.client.ListZones(ctx, dns.ListZonesRequest{
|
||||
CompartmentId: &o.compartment,
|
||||
Page: listResp.OpcNextPage,
|
||||
Page: listResp.OpcNextPage,
|
||||
})
|
||||
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue