File tree 1 file changed +2
-2
lines changed
website/docs/plugin/framework/migrating
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ func main() {
127
127
}
128
128
129
129
providers := []func () tfprotov6.ProviderServer {
130
- providerserver.NewProtocol6 (provider.New ()), // Example terraform-plugin-framework provider
130
+ providerserver.NewProtocol6 (provider.New ()() ), // Example terraform-plugin-framework provider
131
131
func () tfprotov6.ProviderServer {
132
132
return upgradedSdkServer,
133
133
},
@@ -218,7 +218,7 @@ import (
218
218
219
219
func TestMuxServer (t *testing .T ) {
220
220
resource.Test (t, resource.TestCase {
221
- ProtoV6ProviderFactories: map [string ]func () (tfprotov5 .ProviderServer , error ) {
221
+ ProtoV6ProviderFactories: map [string ]func () (tfprotov6 .ProviderServer , error ) {
222
222
" examplecloud" : func () (tfprotov6.ProviderServer , error ) {
223
223
ctx := context.Background ()
224
224
You can’t perform that action at this time.
0 commit comments