Commit ef58611
authored
Update proto file definition of Read/WriteStateBytes RPCs (#37529)
* Update Read/WriteStateBytes RPCs to match hashicorp/terraform-plugin-go#531
* Run `make protobuf`
* Run `make generate`
* Update use of `proto.ReadStateBytes_ResponseChunk` in tests
* Fix how diagnostics are handled alongside EOF error, update ReadStateBytes test
* More fixes - test setup was incorrect
I think? I assume that a response would be returned full of zero-values when EOF is encountered.1 parent bd2039e commit ef58611
File tree
5 files changed
+65
-62
lines changed- docs/plugin-protocol
- internal
- plugin6
- mock_proto
- tfplugin6
5 files changed
+65
-62
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
426 | 426 | | |
427 | 427 | | |
428 | 428 | | |
429 | | - | |
| 429 | + | |
430 | 430 | | |
431 | 431 | | |
432 | 432 | | |
| |||
923 | 923 | | |
924 | 924 | | |
925 | 925 | | |
926 | | - | |
927 | 926 | | |
928 | 927 | | |
929 | 928 | | |
| |||
949 | 948 | | |
950 | 949 | | |
951 | 950 | | |
952 | | - | |
| 951 | + | |
953 | 952 | | |
954 | 953 | | |
955 | 954 | | |
| |||
959 | 958 | | |
960 | 959 | | |
961 | 960 | | |
| 961 | + | |
962 | 962 | | |
963 | | - | |
964 | 963 | | |
| 964 | + | |
| 965 | + | |
965 | 966 | | |
966 | 967 | | |
967 | 968 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1516 | 1516 | | |
1517 | 1517 | | |
1518 | 1518 | | |
| 1519 | + | |
1519 | 1520 | | |
1520 | 1521 | | |
1521 | 1522 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3519 | 3519 | | |
3520 | 3520 | | |
3521 | 3521 | | |
3522 | | - | |
| 3522 | + | |
3523 | 3523 | | |
3524 | 3524 | | |
3525 | 3525 | | |
3526 | | - | |
| 3526 | + | |
3527 | 3527 | | |
3528 | 3528 | | |
3529 | 3529 | | |
| |||
3534 | 3534 | | |
3535 | 3535 | | |
3536 | 3536 | | |
3537 | | - | |
| 3537 | + | |
3538 | 3538 | | |
3539 | 3539 | | |
3540 | 3540 | | |
| |||
3545 | 3545 | | |
3546 | 3546 | | |
3547 | 3547 | | |
3548 | | - | |
| 3548 | + | |
3549 | 3549 | | |
3550 | 3550 | | |
3551 | 3551 | | |
3552 | 3552 | | |
3553 | | - | |
| 3553 | + | |
3554 | 3554 | | |
3555 | 3555 | | |
3556 | 3556 | | |
| |||
3595 | 3595 | | |
3596 | 3596 | | |
3597 | 3597 | | |
3598 | | - | |
| 3598 | + | |
3599 | 3599 | | |
3600 | 3600 | | |
3601 | 3601 | | |
3602 | | - | |
| 3602 | + | |
3603 | 3603 | | |
3604 | 3604 | | |
3605 | 3605 | | |
| |||
3610 | 3610 | | |
3611 | 3611 | | |
3612 | 3612 | | |
3613 | | - | |
| 3613 | + | |
3614 | 3614 | | |
3615 | 3615 | | |
3616 | 3616 | | |
| |||
3621 | 3621 | | |
3622 | 3622 | | |
3623 | 3623 | | |
3624 | | - | |
| 3624 | + | |
3625 | 3625 | | |
3626 | 3626 | | |
3627 | 3627 | | |
3628 | 3628 | | |
3629 | | - | |
| 3629 | + | |
3630 | 3630 | | |
3631 | 3631 | | |
3632 | 3632 | | |
| |||
3702 | 3702 | | |
3703 | 3703 | | |
3704 | 3704 | | |
3705 | | - | |
| 3705 | + | |
3706 | 3706 | | |
3707 | 3707 | | |
3708 | 3708 | | |
| |||
3752 | 3752 | | |
3753 | 3753 | | |
3754 | 3754 | | |
3755 | | - | |
| 3755 | + | |
3756 | 3756 | | |
3757 | 3757 | | |
3758 | 3758 | | |
3759 | 3759 | | |
3760 | 3760 | | |
3761 | 3761 | | |
3762 | 3762 | | |
3763 | | - | |
| 3763 | + | |
3764 | 3764 | | |
3765 | 3765 | | |
3766 | 3766 | | |
| |||
3801 | 3801 | | |
3802 | 3802 | | |
3803 | 3803 | | |
3804 | | - | |
| 3804 | + | |
3805 | 3805 | | |
3806 | 3806 | | |
3807 | 3807 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments