File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ type ReadStateBytesRequest struct {
5353}
5454
5555type ReadStateBytesStream struct {
56- Chunks iter.Seq [ReadStateByteChunk ]
56+ Messages iter.Seq [ReadStateByteStreamMsg ]
5757}
5858
5959type WriteStateBytesStream struct {
@@ -65,18 +65,16 @@ type WriteStateBytesStream struct {
6565// 2. Any gRPC-related errors the provider server encountered when
6666// receiving data from Terraform core.
6767type WriteStateBytesStreamMsg struct {
68- Chunk WriteStateByteChunk
68+ Chunk StateByteChunk
6969 Err error
7070}
7171
7272type WriteStateBytesResponse struct {
7373 Diagnostics []* Diagnostic
7474}
7575
76- type WriteStateByteChunk = StateByteChunk
77-
78- type ReadStateByteChunk struct {
79- StateByteChunk
76+ type ReadStateByteStreamMsg struct {
77+ Chunk StateByteChunk
8078 Diagnostics []* Diagnostic
8179}
8280
You can’t perform that action at this time.
0 commit comments