Skip to content

Commit

Permalink
refer correctly to component providers (#358)
Browse files Browse the repository at this point in the history
We consistently want to refer to Component Providers, which is the
official name, and not MLCs. Do so here.
  • Loading branch information
tgummerer authored Oct 2, 2024
1 parent a493908 commit c748bb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/Pulumi/Provider/Provider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -922,7 +922,7 @@ public override Task<Empty> Delete(Pulumirpc.DeleteRequest request, ServerCallCo
DependsOn = dependsOn,
Protect = request.Protect,
Providers = providers,
Parent = !string.IsNullOrEmpty(request.Parent) ? new DependencyResource(request.Parent) : throw new RpcException(new Status(StatusCode.InvalidArgument, "Parent must be set for MLCs.")),
Parent = !string.IsNullOrEmpty(request.Parent) ? new DependencyResource(request.Parent) : throw new RpcException(new Status(StatusCode.InvalidArgument, "Parent must be set for Component Providers.")),
CustomTimeouts = request.CustomTimeouts != null ? CustomTimeouts.Deserialize(request.CustomTimeouts) : null,
DeletedWith = string.IsNullOrEmpty(request.DeletedWith) ? null : new DependencyResource(request.DeletedWith),
IgnoreChanges = request.IgnoreChanges.ToList(),
Expand Down

0 comments on commit c748bb9

Please sign in to comment.