Skip to content

Commit

Permalink
Deprecate WithPlanResourceChange (#2600)
Browse files Browse the repository at this point in the history
Removes deprecated function
  • Loading branch information
guineveresaenger authored Nov 9, 2024
1 parent 9a7052d commit 8b09cb6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions provider/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -463,17 +463,13 @@ func preConfigureCallbackWithLogger(credentialsValidationRun *atomic.Bool, gcpCl
//go:embed cmd/pulumi-resource-gcp/bridge-metadata.json
var metadata []byte

// A predicate function that always returns true.
func always[T any](T) bool { return true }

// Provider returns additional overlaid schema and metadata associated with the gcp package.
//
//nolint:lll
func Provider() tfbridge.ProviderInfo {
p := pf.MuxShimWithDisjointgPF(
context.Background(),
shimv2.NewProvider(gcpProvider.Provider(),
shimv2.WithPlanResourceChange(always),
shimv2.WithPlanStateEdit(fixEmptyLabels),
),
gcpPFProvider.New())
Expand Down

0 comments on commit 8b09cb6

Please sign in to comment.