diff --git a/go.mod b/go.mod index 6d05ec050..a9709a5ae 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ require ( github.com/mitchellh/go-homedir v1.1.0 github.com/newrelic/go-agent/v3 v3.30.0 github.com/newrelic/go-insights v1.0.3 - github.com/newrelic/newrelic-client-go/v2 v2.37.0 + github.com/newrelic/newrelic-client-go/v2 v2.39.1 github.com/stretchr/testify v1.9.0 golang.org/x/exp v0.0.0-20240325151524-a685a6edb6d8 ) diff --git a/go.sum b/go.sum index e9355bfca..1076986e3 100644 --- a/go.sum +++ b/go.sum @@ -267,8 +267,8 @@ github.com/newrelic/go-agent/v3 v3.30.0 h1:ZXHCT/Cot4iIPwcegCZURuRQOsfmGA6wilW+S github.com/newrelic/go-agent/v3 v3.30.0/go.mod h1:9utrgxlSryNqRrTvII2XBL+0lpofXbqXApvVWPpbzUg= github.com/newrelic/go-insights v1.0.3 h1:zSNp1CEZnXktzSIEsbHJk8v6ZihdPFP2WsO/fzau3OQ= github.com/newrelic/go-insights v1.0.3/go.mod h1:A20BoT8TNkqPGX2nS/Z2fYmKl3Cqa3iKZd4whzedCY4= -github.com/newrelic/newrelic-client-go/v2 v2.37.0 h1:Uq/FjtDhT+y2iSm/GctBaiHQeN6Wi6ClK6V4OQ44GLg= -github.com/newrelic/newrelic-client-go/v2 v2.37.0/go.mod h1:pDFY24/6iIMEbPIdowTRrRn9YYwkXc3j+B+XpTb4oF4= +github.com/newrelic/newrelic-client-go/v2 v2.39.1 h1:05b9E0bReE9RS00rB8DzD7F1Vxb8+dHMiV95H1TLToI= +github.com/newrelic/newrelic-client-go/v2 v2.39.1/go.mod h1:pDFY24/6iIMEbPIdowTRrRn9YYwkXc3j+B+XpTb4oF4= github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= github.com/oklog/run v1.0.0 h1:Ru7dDtJNOyC66gQ5dQmaCa0qIsAUFY3sFpK1Xk8igrw= github.com/oklog/run v1.0.0/go.mod h1:dlhp/R75TPv97u0XWUtDeV/lRKWPKSdTuV0TZvrmrQA= diff --git a/newrelic/provider_test.go b/newrelic/provider_test.go index 77a9d912a..680eb93d2 100644 --- a/newrelic/provider_test.go +++ b/newrelic/provider_test.go @@ -155,7 +155,7 @@ func testAccCreateEntity(t *testing.T, name string) { } retryErr := resource.RetryContext(context.Background(), 30*time.Second, func() *resource.RetryError { - entityResults, err := client.GetEntitySearchWithContext(context.Background(), entities.EntitySearchOptions{}, "", params, []entities.EntitySearchSortCriteria{}) + entityResults, err := client.GetEntitySearchWithContext(context.Background(), entities.EntitySearchOptions{}, "", params, []entities.EntitySearchSortCriteria{}, []entities.SortCriterionWithDirection{}) if err != nil { return resource.RetryableError(err) } @@ -321,6 +321,7 @@ func testAccSyntheticTestEntitiesCleanup(t *testing.T) { Name: nameSuffix, }, []entities.EntitySearchSortCriteria{}, + []entities.SortCriterionWithDirection{}, ) if err != nil { @@ -391,6 +392,7 @@ func testAccBrowserApplicationsCleanup(t *testing.T) { Type: "APPLICATION", }, []entities.EntitySearchSortCriteria{}, + []entities.SortCriterionWithDirection{}, ) if err != nil {