Skip to content

Commit 23d7263

Browse files
authored
website: Fixes for mux documentation (#834)
1 parent 92180cc commit 23d7263

File tree

1 file changed

+2
-2
lines changed
  • website/docs/plugin/framework/migrating

1 file changed

+2
-2
lines changed

website/docs/plugin/framework/migrating/mux.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ func main() {
127127
}
128128

129129
providers := []func() tfprotov6.ProviderServer{
130-
providerserver.NewProtocol6(provider.New()), // Example terraform-plugin-framework provider
130+
providerserver.NewProtocol6(provider.New()()), // Example terraform-plugin-framework provider
131131
func() tfprotov6.ProviderServer {
132132
return upgradedSdkServer,
133133
},
@@ -218,7 +218,7 @@ import (
218218

219219
func TestMuxServer(t *testing.T) {
220220
resource.Test(t, resource.TestCase{
221-
ProtoV6ProviderFactories: map[string]func() (tfprotov5.ProviderServer, error) {
221+
ProtoV6ProviderFactories: map[string]func() (tfprotov6.ProviderServer, error) {
222222
"examplecloud": func() (tfprotov6.ProviderServer, error) {
223223
ctx := context.Background()
224224

0 commit comments

Comments
 (0)