File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ github.com/hashicorp/go-plugin v1.7.0 h1:YghfQH/0QmPNc/AZMTFE3ac8fipZyZECHdDPshf
2323github.com/hashicorp/go-plugin v1.7.0 /go.mod h1:BExt6KEaIYx804z8k4gRzRLEvxKVb+kn0NMcihqOqb8 =
2424github.com/hashicorp/go-uuid v1.0.3 h1:2gKiV6YVmrJ1i2CKKa9obLvRieoRGviZFL26PcT/Co8 =
2525github.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 =
2828github.com/hashicorp/terraform-registry-address v0.4.0 h1:S1yCGomj30Sao4l5BMPjTGZmCNzuv7/GDTDX99E9gTk =
2929github.com/hashicorp/terraform-registry-address v0.4.0 /go.mod h1:LRS1Ay0+mAiRkUyltGT+UHWkIqTFvigGn/LbMshfflE =
3030github.com/hashicorp/terraform-svchost v0.1.1 h1:EZZimZ1GxdqFRinZ1tpJwVxxt49xc/S52uzrw4x0jKQ =
Original file line number Diff line number Diff line change @@ -456,7 +456,7 @@ func (s *server) stoppableContext(ctx context.Context) context.Context {
456456// terraform-plugin-log loggers injected.
457457func (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 )
Original file line number Diff line number Diff line change @@ -456,7 +456,7 @@ func (s *server) stoppableContext(ctx context.Context) context.Context {
456456// terraform-plugin-log loggers injected.
457457func (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 )
You can’t perform that action at this time.
0 commit comments