Skip to content

Commit 8f9b20a

Browse files
fix(deps): update module github.com/elastic/go-elasticsearch/v8 to v9
1 parent f04902a commit 8f9b20a

File tree

9 files changed

+20
-20
lines changed

9 files changed

+20
-20
lines changed

go.mod

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ toolchain go1.24.3
77
require (
88
github.com/disaster37/go-kibana-rest/v8 v8.5.0
99
github.com/elastic/elastic-transport-go/v8 v8.7.0
10-
github.com/elastic/go-elasticsearch/v8 v8.18.0
10+
github.com/elastic/go-elasticsearch/v9 v9.0.0
1111
github.com/google/gofuzz v1.2.0
1212
github.com/google/uuid v1.6.0
1313
github.com/hashicorp/go-cty v1.5.0
@@ -70,9 +70,9 @@ require (
7070
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
7171
github.com/zclconf/go-cty v1.16.2 // indirect
7272
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
73-
go.opentelemetry.io/otel v1.34.0 // indirect
74-
go.opentelemetry.io/otel/metric v1.34.0 // indirect
75-
go.opentelemetry.io/otel/trace v1.34.0 // indirect
73+
go.opentelemetry.io/otel v1.35.0 // indirect
74+
go.opentelemetry.io/otel/metric v1.35.0 // indirect
75+
go.opentelemetry.io/otel/trace v1.35.0 // indirect
7676
golang.org/x/crypto v0.37.0 // indirect
7777
golang.org/x/mod v0.22.0 // indirect
7878
golang.org/x/net v0.39.0 // indirect

go.sum

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c
2424
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
2525
github.com/elastic/elastic-transport-go/v8 v8.7.0 h1:OgTneVuXP2uip4BA658Xi6Hfw+PeIOod2rY3GVMGoVE=
2626
github.com/elastic/elastic-transport-go/v8 v8.7.0/go.mod h1:YLHer5cj0csTzNFXoNQ8qhtGY1GTvSqPnKWKaqQE3Hk=
27-
github.com/elastic/go-elasticsearch/v8 v8.18.0 h1:ANNq1h7DEiPUaALb8+5w3baQzaS08WfHV0DNzp0VG4M=
28-
github.com/elastic/go-elasticsearch/v8 v8.18.0/go.mod h1:WLqwXsJmQoYkoA9JBFeEwPkQhCfAZuUvfpdU/NvSSf0=
27+
github.com/elastic/go-elasticsearch/v9 v9.0.0 h1:krpgPeJ2lC8apkaw6B58gKDYJq5eUhP8AMwpPt01Q/U=
28+
github.com/elastic/go-elasticsearch/v9 v9.0.0/go.mod h1:2PB5YQPpY5tWbF65MRqzEXA31PZOdXCkloQSOZtU14I=
2929
github.com/emirpasic/gods v1.18.1 h1:FXtiHYKDGKCW2KzwZKx0iC0PQmdlorYgdFG9jPXJ1Bc=
3030
github.com/emirpasic/gods v1.18.1/go.mod h1:8tpGGwCnJ5H4r6BWwaV6OrWmMoPhUl5jm/FMNAnJvWQ=
3131
github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk=
@@ -192,16 +192,16 @@ github.com/zclconf/go-cty-debug v0.0.0-20240509010212-0d6042c53940 h1:4r45xpDWB6
192192
github.com/zclconf/go-cty-debug v0.0.0-20240509010212-0d6042c53940/go.mod h1:CmBdvvj3nqzfzJ6nTCIwDTPZ56aVGvDrmztiO5g3qrM=
193193
go.opentelemetry.io/auto/sdk v1.1.0 h1:cH53jehLUN6UFLY71z+NDOiNJqDdPRaXzTel0sJySYA=
194194
go.opentelemetry.io/auto/sdk v1.1.0/go.mod h1:3wSPjt5PWp2RhlCcmmOial7AvC4DQqZb7a7wCow3W8A=
195-
go.opentelemetry.io/otel v1.34.0 h1:zRLXxLCgL1WyKsPVrgbSdMN4c0FMkDAskSTQP+0hdUY=
196-
go.opentelemetry.io/otel v1.34.0/go.mod h1:OWFPOQ+h4G8xpyjgqo4SxJYdDQ/qmRH+wivy7zzx9oI=
197-
go.opentelemetry.io/otel/metric v1.34.0 h1:+eTR3U0MyfWjRDhmFMxe2SsW64QrZ84AOhvqS7Y+PoQ=
198-
go.opentelemetry.io/otel/metric v1.34.0/go.mod h1:CEDrp0fy2D0MvkXE+dPV7cMi8tWZwX3dmaIhwPOaqHE=
195+
go.opentelemetry.io/otel v1.35.0 h1:xKWKPxrxB6OtMCbmMY021CqC45J+3Onta9MqjhnusiQ=
196+
go.opentelemetry.io/otel v1.35.0/go.mod h1:UEqy8Zp11hpkUrL73gSlELM0DupHoiq72dR+Zqel/+Y=
197+
go.opentelemetry.io/otel/metric v1.35.0 h1:0znxYu2SNyuMSQT4Y9WDWej0VpcsxkuklLa4/siN90M=
198+
go.opentelemetry.io/otel/metric v1.35.0/go.mod h1:nKVFgxBZ2fReX6IlyW28MgZojkoAkJGaE8CpgeAU3oE=
199199
go.opentelemetry.io/otel/sdk v1.34.0 h1:95zS4k/2GOy069d321O8jWgYsW3MzVV+KuSPKp7Wr1A=
200200
go.opentelemetry.io/otel/sdk v1.34.0/go.mod h1:0e/pNiaMAqaykJGKbi+tSjWfNNHMTxoC9qANsCzbyxU=
201201
go.opentelemetry.io/otel/sdk/metric v1.34.0 h1:5CeK9ujjbFVL5c1PhLuStg1wxA7vQv7ce1EK0Gyvahk=
202202
go.opentelemetry.io/otel/sdk/metric v1.34.0/go.mod h1:jQ/r8Ze28zRKoNRdkjCZxfs6YvBTG1+YIqyFVFYec5w=
203-
go.opentelemetry.io/otel/trace v1.34.0 h1:+ouXS2V8Rd4hp4580a8q23bg0azF2nI8cqLYnC8mh/k=
204-
go.opentelemetry.io/otel/trace v1.34.0/go.mod h1:Svm7lSjQD7kG7KJ/MUHPVXSDGz2OX4h0M2jHBhmSfRE=
203+
go.opentelemetry.io/otel/trace v1.35.0 h1:dPpEfJu1sDIqruz7BHFG3c7528f6ddfSWfFDVt/xgMs=
204+
go.opentelemetry.io/otel/trace v1.35.0/go.mod h1:WUk7DtFp1Aw2MkvqGdwiXYDZZNvA/1J8o6xRXLrIkyc=
205205
go.uber.org/mock v0.5.2 h1:LbtPTcP8A5k9WPXj54PPPbjcI4Y6lhyOZXn+VS7wNko=
206206
go.uber.org/mock v0.5.2/go.mod h1:wLlUxC2vVTPTaE3UD51E0BGOAElKrILxhVSDYQLld5o=
207207
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=

internal/clients/api_client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"strings"
1010

1111
"github.com/disaster37/go-kibana-rest/v8"
12-
"github.com/elastic/go-elasticsearch/v8"
12+
"github.com/elastic/go-elasticsearch/v9"
1313
"github.com/elastic/terraform-provider-elasticstack/generated/alerting"
1414
"github.com/elastic/terraform-provider-elasticstack/generated/connectors"
1515
"github.com/elastic/terraform-provider-elasticstack/generated/slo"

internal/clients/config/base.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"net/http"
66
"os"
77

8-
"github.com/elastic/go-elasticsearch/v8"
8+
"github.com/elastic/go-elasticsearch/v9"
99
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
1010
)
1111

internal/clients/config/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package config
22

33
import (
44
"github.com/disaster37/go-kibana-rest/v8"
5-
"github.com/elastic/go-elasticsearch/v8"
5+
"github.com/elastic/go-elasticsearch/v9"
66
"github.com/elastic/terraform-provider-elasticstack/internal/clients/fleet"
77
"github.com/elastic/terraform-provider-elasticstack/internal/clients/kibana_oapi"
88
)

internal/clients/config/elasticsearch.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"strconv"
1010
"strings"
1111

12-
"github.com/elastic/go-elasticsearch/v8"
12+
"github.com/elastic/go-elasticsearch/v9"
1313
fwdiags "github.com/hashicorp/terraform-plugin-framework/diag"
1414
"github.com/hashicorp/terraform-plugin-framework/types/basetypes"
1515
sdkdiags "github.com/hashicorp/terraform-plugin-sdk/v2/diag"

internal/clients/elasticsearch/index.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"net/http"
99
"strings"
1010

11-
"github.com/elastic/go-elasticsearch/v8/esapi"
11+
"github.com/elastic/go-elasticsearch/v9/esapi"
1212
"github.com/elastic/terraform-provider-elasticstack/internal/clients"
1313
"github.com/elastic/terraform-provider-elasticstack/internal/models"
1414
"github.com/elastic/terraform-provider-elasticstack/internal/utils"

internal/clients/elasticsearch/transform.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import (
88
"net/http"
99
"time"
1010

11-
"github.com/elastic/go-elasticsearch/v8"
12-
"github.com/elastic/go-elasticsearch/v8/esapi"
11+
"github.com/elastic/go-elasticsearch/v9"
12+
"github.com/elastic/go-elasticsearch/v9/esapi"
1313
"github.com/elastic/terraform-provider-elasticstack/internal/clients"
1414
"github.com/elastic/terraform-provider-elasticstack/internal/models"
1515
"github.com/elastic/terraform-provider-elasticstack/internal/utils"

internal/utils/diag.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"io"
66
"net/http"
77

8-
"github.com/elastic/go-elasticsearch/v8/esapi"
8+
"github.com/elastic/go-elasticsearch/v9/esapi"
99
fwdiag "github.com/hashicorp/terraform-plugin-framework/diag"
1010
sdkdiag "github.com/hashicorp/terraform-plugin-sdk/v2/diag"
1111
)

0 commit comments

Comments
 (0)