CHORE: go generate (#3182)

This commit is contained in:
Tom Limoncelli 2024-10-30 18:59:19 +00:00 committed by GitHub
parent 4190659152
commit 2abbab0c84
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 10 additions and 10 deletions

View file

@ -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",

View file

@ -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 {