Skip to content

Commit da027bb

Browse files
build(deps): bump github.com/hashicorp/terraform-plugin-log from 0.9.0 to 0.10.0 (#1533)
* build(deps): bump github.com/hashicorp/terraform-plugin-log Bumps [github.com/hashicorp/terraform-plugin-log](https://github.com/hashicorp/terraform-plugin-log) from 0.9.0 to 0.10.0. - [Release notes](https://github.com/hashicorp/terraform-plugin-log/releases) - [Changelog](https://github.com/hashicorp/terraform-plugin-log/blob/main/CHANGELOG.md) - [Commits](hashicorp/terraform-plugin-log@v0.9.0...v0.10.0) --- updated-dependencies: - dependency-name: github.com/hashicorp/terraform-plugin-log dependency-version: 0.10.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * use new `tfsdklog.ContextWithTestLogging` function --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Austin Valle <austinvalle@gmail.com>
1 parent 64f78f8 commit da027bb

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ require (
1717
github.com/hashicorp/terraform-exec v0.24.0
1818
github.com/hashicorp/terraform-json v0.27.2
1919
github.com/hashicorp/terraform-plugin-go v0.29.0
20-
github.com/hashicorp/terraform-plugin-log v0.9.0
20+
github.com/hashicorp/terraform-plugin-log v0.10.0
2121
github.com/mitchellh/copystructure v1.2.0
2222
github.com/mitchellh/go-testing-interface v1.14.1
2323
github.com/mitchellh/mapstructure v1.5.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ github.com/hashicorp/terraform-json v0.27.2 h1:BwGuzM6iUPqf9JYM/Z4AF1OJ5VVJEEzoK
8484
github.com/hashicorp/terraform-json v0.27.2/go.mod h1:GzPLJ1PLdUG5xL6xn1OXWIjteQRT2CNT9o/6A9mi9hE=
8585
github.com/hashicorp/terraform-plugin-go v0.29.0 h1:1nXKl/nSpaYIUBU1IG/EsDOX0vv+9JxAltQyDMpq5mU=
8686
github.com/hashicorp/terraform-plugin-go v0.29.0/go.mod h1:vYZbIyvxyy0FWSmDHChCqKvI40cFTDGSb3D8D70i9GM=
87-
github.com/hashicorp/terraform-plugin-log v0.9.0 h1:i7hOA+vdAItN1/7UrfBqBwvYPQ9TFvymaRGZED3FCV0=
88-
github.com/hashicorp/terraform-plugin-log v0.9.0/go.mod h1:rKL8egZQ/eXSyDqzLUuwUYLVdlYeamldAHSxjUFADow=
87+
github.com/hashicorp/terraform-plugin-log v0.10.0 h1:eu2kW6/QBVdN4P3Ju2WiB2W3ObjkAsyfBsL3Wh1fj3g=
88+
github.com/hashicorp/terraform-plugin-log v0.10.0/go.mod h1:/9RR5Cv2aAbrqcTSdNmY1NRHP4E3ekrXRGjqORpXyB0=
8989
github.com/hashicorp/terraform-registry-address v0.4.0 h1:S1yCGomj30Sao4l5BMPjTGZmCNzuv7/GDTDX99E9gTk=
9090
github.com/hashicorp/terraform-registry-address v0.4.0/go.mod h1:LRS1Ay0+mAiRkUyltGT+UHWkIqTFvigGn/LbMshfflE=
9191
github.com/hashicorp/terraform-svchost v0.1.1 h1:EZZimZ1GxdqFRinZ1tpJwVxxt49xc/S52uzrw4x0jKQ=

internal/logging/context.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ func InitContext(ctx context.Context) context.Context {
3737
func InitTestContext(ctx context.Context, t testing.T) context.Context {
3838
helperlogging.SetOutput(t)
3939

40-
ctx = tfsdklog.RegisterTestSink(ctx, t)
40+
ctx = tfsdklog.ContextWithTestLogging(ctx, t.Name())
4141
ctx = tfsdklog.NewRootSDKLogger(ctx, tfsdklog.WithLevelFromEnv(EnvTfLogSdk))
4242
ctx = tfsdklog.NewSubsystem(ctx, SubsystemHelperResource,
4343
// All calls are through the HelperResource* helper functions

0 commit comments

Comments
 (0)