Skip to content

Commit 4abfd12

Browse files
build(deps): Bump github.com/hashicorp/terraform-plugin-log from 0.9.0 to 0.10.0 (#579)
* 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] <[email protected]> * use new `tfsdklog.ContextWithTestLogging` function --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Austin Valle <[email protected]>
1 parent 42e4e3f commit 4abfd12

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ require (
99
github.com/hashicorp/go-hclog v1.6.3
1010
github.com/hashicorp/go-plugin v1.7.0
1111
github.com/hashicorp/go-uuid v1.0.3
12-
github.com/hashicorp/terraform-plugin-log v0.9.0
12+
github.com/hashicorp/terraform-plugin-log v0.10.0
1313
github.com/hashicorp/terraform-registry-address v0.4.0
1414
github.com/mitchellh/go-testing-interface v1.14.1
1515
github.com/vmihailenco/msgpack/v5 v5.4.1

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ github.com/hashicorp/go-plugin v1.7.0 h1:YghfQH/0QmPNc/AZMTFE3ac8fipZyZECHdDPshf
2323
github.com/hashicorp/go-plugin v1.7.0/go.mod h1:BExt6KEaIYx804z8k4gRzRLEvxKVb+kn0NMcihqOqb8=
2424
github.com/hashicorp/go-uuid v1.0.3 h1:2gKiV6YVmrJ1i2CKKa9obLvRieoRGviZFL26PcT/Co8=
2525
github.com/hashicorp/go-uuid v1.0.3/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro=
26-
github.com/hashicorp/terraform-plugin-log v0.9.0 h1:i7hOA+vdAItN1/7UrfBqBwvYPQ9TFvymaRGZED3FCV0=
27-
github.com/hashicorp/terraform-plugin-log v0.9.0/go.mod h1:rKL8egZQ/eXSyDqzLUuwUYLVdlYeamldAHSxjUFADow=
26+
github.com/hashicorp/terraform-plugin-log v0.10.0 h1:eu2kW6/QBVdN4P3Ju2WiB2W3ObjkAsyfBsL3Wh1fj3g=
27+
github.com/hashicorp/terraform-plugin-log v0.10.0/go.mod h1:/9RR5Cv2aAbrqcTSdNmY1NRHP4E3ekrXRGjqORpXyB0=
2828
github.com/hashicorp/terraform-registry-address v0.4.0 h1:S1yCGomj30Sao4l5BMPjTGZmCNzuv7/GDTDX99E9gTk=
2929
github.com/hashicorp/terraform-registry-address v0.4.0/go.mod h1:LRS1Ay0+mAiRkUyltGT+UHWkIqTFvigGn/LbMshfflE=
3030
github.com/hashicorp/terraform-svchost v0.1.1 h1:EZZimZ1GxdqFRinZ1tpJwVxxt49xc/S52uzrw4x0jKQ=

tfprotov5/tf5server/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ func (s *server) stoppableContext(ctx context.Context) context.Context {
456456
// terraform-plugin-log loggers injected.
457457
func (s *server) loggingContext(ctx context.Context) context.Context {
458458
if s.useTFLogSink {
459-
ctx = tfsdklog.RegisterTestSink(ctx, s.testHandle)
459+
ctx = tfsdklog.ContextWithTestLogging(ctx, s.testHandle.Name())
460460
}
461461

462462
ctx = logging.InitContext(ctx, s.tflogSDKOpts, s.tflogOpts)

tfprotov6/tf6server/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ func (s *server) stoppableContext(ctx context.Context) context.Context {
456456
// terraform-plugin-log loggers injected.
457457
func (s *server) loggingContext(ctx context.Context) context.Context {
458458
if s.useTFLogSink {
459-
ctx = tfsdklog.RegisterTestSink(ctx, s.testHandle)
459+
ctx = tfsdklog.ContextWithTestLogging(ctx, s.testHandle.Name())
460460
}
461461

462462
ctx = logging.InitContext(ctx, s.tflogSDKOpts, s.tflogOpts)

0 commit comments

Comments
 (0)