Skip to content

Commit 08f816d

Browse files
authored
Update Go SDK to v0.29.0 (#3098)
* Update Go SDK to latest * update * update * fix tests
1 parent e17c404 commit 08f816d

File tree

6 files changed

+7
-6
lines changed

6 files changed

+7
-6
lines changed

catalog/resource_sql_table.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ type SqlTableInfo struct {
4545
WarehouseID string `json:"warehouse_id,omitempty"`
4646

4747
exec common.CommandExecutor
48-
sqlExec *sql.StatementExecutionAPI
48+
sqlExec sql.StatementExecutionInterface
4949
}
5050

5151
type SqlTablesAPI struct {

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/databricks/terraform-provider-databricks
33
go 1.20
44

55
require (
6-
github.com/databricks/databricks-sdk-go v0.28.1
6+
github.com/databricks/databricks-sdk-go v0.29.0
77
github.com/golang-jwt/jwt/v4 v4.5.0
88
github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320
99
github.com/hashicorp/hcl v1.0.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ github.com/cloudflare/circl v1.3.6 h1:/xbKIqSHbZXHwkhbrhrt2YOHIwYJlXH94E3tI/gDlU
2222
github.com/cloudflare/circl v1.3.6/go.mod h1:5XYMA4rFBvNIrhs50XuiBJ15vF2pZn4nnUKZrLbUZFA=
2323
github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc=
2424
github.com/cyphar/filepath-securejoin v0.2.4 h1:Ugdm7cg7i6ZK6x3xDF1oEu1nfkyfH53EtKeQYTC3kyg=
25-
github.com/databricks/databricks-sdk-go v0.28.1 h1:RH5sPSnzQjZ0x3yWP8+omuBXKLMI2P1lJO8B7BJVhQs=
26-
github.com/databricks/databricks-sdk-go v0.28.1/go.mod h1:AGzQDmVUcf/J9ARx2FgObcRI5RO2VZ1jehhxFM6tA60=
25+
github.com/databricks/databricks-sdk-go v0.29.0 h1:p53y3IvYjNvWve3ALXdsJx67RPk/M4rt0JBgweq5s2Y=
26+
github.com/databricks/databricks-sdk-go v0.29.0/go.mod h1:4Iy1e1XZiMC15BfWMQVrtr6va8wSEkiUXv0ZRMfgo3w=
2727
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
2828
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
2929
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=

mlflow/__debug_bin4001948279

31.6 MB
Binary file not shown.

mlflow/resource_mlflow_webhook_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,5 +272,6 @@ func TestWebhookDeleteError(t *testing.T) {
272272
ID: testWhID,
273273
HCL: testWhHCL,
274274
}.Apply(t)
275-
assert.ErrorContains(t, err, "unexpected end of JSON input")
275+
assert.Error(t, err)
276+
276277
}

scim/data_service_principal_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ func TestDataServicePrincipalReadError(t *testing.T) {
101101
NonWritable: true,
102102
ID: "_",
103103
}.Apply(t)
104-
assert.ErrorContains(t, err, "unexpected error handling request: unexpected end of JSON input")
104+
assert.Error(t, err)
105105
}
106106

107107
func TestDataServicePrincipalReadByNameDuplicates(t *testing.T) {

0 commit comments

Comments
 (0)