Skip to content

Commit

Permalink
Remove unrelated change
Browse files Browse the repository at this point in the history
  • Loading branch information
flostadler committed Nov 8, 2024
1 parent bc7cd64 commit ba6b3ba
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions provider/pkg/provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,12 +113,12 @@ type cfnProvider struct {

pulumiSchema []byte

cfn *cloudformation.Client
ccc client.CloudControlClient
ec2 *ec2.Client
ssm *ssm.Client
sts *sts.Client
s3 *s3.Client
cfn *cloudformation.Client
ccc client.CloudControlClient
ec2 *ec2.Client
ssm *ssm.Client
sts *sts.Client
s3 *s3.Client
lambda *lambda.Client

customResources map[string]resources.CustomResource
Expand Down Expand Up @@ -270,15 +270,14 @@ func (p *cfnProvider) DiffConfig(ctx context.Context, req *pulumirpc.DiffRequest
return &pulumirpc.DiffResponse{Changes: pulumirpc.DiffResponse_DIFF_NONE}, nil
}

var diffs, replaces []string
var diffs []string
for _, k := range diff.Keys() {
diffs = append(diffs, string(k))
}

return &pulumirpc.DiffResponse{
Changes: pulumirpc.DiffResponse_DIFF_SOME,
Diffs: diffs,
Replaces: replaces,
Changes: pulumirpc.DiffResponse_DIFF_SOME,
Diffs: diffs,
}, nil
}

Expand Down

0 comments on commit ba6b3ba

Please sign in to comment.