Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
wyattfry committed Jan 13, 2025
1 parent 5d1e1a1 commit a65d8e8
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions internal/provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -489,11 +489,7 @@ func providerConfigure(p *schema.Provider) schema.ConfigureContextFunc {
// buildClient is used to configure behavioral aspects of the provider. To configure the
// cloud environment and authentication-related settings, use the providerConfigure function.
func buildClient(ctx context.Context, p *schema.Provider, d *schema.ResourceData, authConfig *auth.Credentials) (*clients.Client, diag.Diagnostics) {
// TODO: This hardcoded default is for v3.x, where `resource_provider_registrations` is not defined. Remove this hardcoded default in v4.0
providerRegistrations := resourceproviders.ProviderRegistrationsLegacy
if features.FourPointOhBeta() {
providerRegistrations = d.Get("resource_provider_registrations").(string)
}
providerRegistrations := d.Get("resource_provider_registrations").(string)

// TODO: Remove in v5.0
if d.Get("skip_provider_registration").(bool) {
Expand Down

0 comments on commit a65d8e8

Please sign in to comment.