Respect `disableProviderPreview` in providers.
@@ -101,6 +101,7 @@ func NewProvider(host Host, ctx *Context, pkg tokens.Package, version *semver.Ve
plug: plug,
clientRaw: pulumirpc.NewResourceProviderClient(plug.Conn),
cfgdone: make(chan bool),
+ disableProviderPreview: disableProviderPreview,
}, nil
}
