Skip to content

Commit

Permalink
website: Fixes for mux documentation (#834)
Browse files Browse the repository at this point in the history
  • Loading branch information
akinross authored Sep 6, 2023
1 parent 92180cc commit 23d7263
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/docs/plugin/framework/migrating/mux.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ func main() {
}

providers := []func() tfprotov6.ProviderServer{
providerserver.NewProtocol6(provider.New()), // Example terraform-plugin-framework provider
providerserver.NewProtocol6(provider.New()()), // Example terraform-plugin-framework provider
func() tfprotov6.ProviderServer {
return upgradedSdkServer,
},
Expand Down Expand Up @@ -218,7 +218,7 @@ import (

func TestMuxServer(t *testing.T) {
resource.Test(t, resource.TestCase{
ProtoV6ProviderFactories: map[string]func() (tfprotov5.ProviderServer, error) {
ProtoV6ProviderFactories: map[string]func() (tfprotov6.ProviderServer, error) {
"examplecloud": func() (tfprotov6.ProviderServer, error) {
ctx := context.Background()

Expand Down

0 comments on commit 23d7263

Please sign in to comment.