Skip to content

Commit

Permalink
Update Error string, dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
tjschutte committed Jun 17, 2024
1 parent dc02850 commit 47e4db9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.21
toolchain go1.21.3

require (
github.com/ambarltd/ambar_go_client v0.0.0-20240426011029-07769d17e756
github.com/ambarltd/ambar_go_client v0.0.0-20240617143255-afce800ad884
github.com/hashicorp/terraform-plugin-docs v0.19.1
github.com/hashicorp/terraform-plugin-framework v1.8.0
github.com/hashicorp/terraform-plugin-go v0.22.2
Expand Down
4 changes: 4 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ github.com/ambarltd/ambar_go_client v0.0.0-20240426004432-d77bae50e0e1 h1:gUL6Lv
github.com/ambarltd/ambar_go_client v0.0.0-20240426004432-d77bae50e0e1/go.mod h1:nQxYJrrTczECNnwozf9Nn0RUgWX1KPBXoT2/Jhy/q98=
github.com/ambarltd/ambar_go_client v0.0.0-20240426011029-07769d17e756 h1:wcKpwSiVTN8YwUdvf6EjqTb09bqc0I4IJZn1NOgDS4g=
github.com/ambarltd/ambar_go_client v0.0.0-20240426011029-07769d17e756/go.mod h1:nQxYJrrTczECNnwozf9Nn0RUgWX1KPBXoT2/Jhy/q98=
github.com/ambarltd/ambar_go_client v0.0.0-20240617135048-98d560536b15 h1:nxTEFo2LqsCVoHYYetgqZxaDY/c1NHuCjsIW+Y+D9QY=
github.com/ambarltd/ambar_go_client v0.0.0-20240617135048-98d560536b15/go.mod h1:nQxYJrrTczECNnwozf9Nn0RUgWX1KPBXoT2/Jhy/q98=
github.com/ambarltd/ambar_go_client v0.0.0-20240617143255-afce800ad884 h1:Bx5hcSv7n51pTp1MwjYUjvDuqaG99Qb2P3/KydNBcHc=
github.com/ambarltd/ambar_go_client v0.0.0-20240617143255-afce800ad884/go.mod h1:nQxYJrrTczECNnwozf9Nn0RUgWX1KPBXoT2/Jhy/q98=
github.com/apparentlymart/go-textseg/v12 v12.0.0/go.mod h1:S/4uRK2UtaQttw1GenVJEynmyUenKwP++x/+DdGV/Ec=
github.com/apparentlymart/go-textseg/v15 v15.0.0 h1:uYvfpb3DyLSCGWnctWKGj857c6ew1u1fNQOlOtuGxQY=
github.com/apparentlymart/go-textseg/v15 v15.0.0/go.mod h1:K8XmNZdhEBkdlyDdvbmmsvpAG721bKi0joRfFdHIWJ4=
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/filter_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ func (r *FilterResource) Read(ctx context.Context, req resource.ReadRequest, res

tflog.Error(ctx, "Unexpected error, dumping logs and returning.")
tflog.Error(ctx, "Got http response, code: "+strconv.Itoa(httpResponse.StatusCode)+", status: "+httpResponse.Status)
resp.Diagnostics.AddError("Unable to read DataSource resource.", err.Error())
resp.Diagnostics.AddError("Unable to read Filter resource.", err.Error())
return
}

Expand Down

0 comments on commit 47e4db9

Please sign in to comment.