Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
EronWright committed Mar 8, 2024
1 parent 94275d5 commit b8757d7
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions provider/pkg/provider/yaml/v2/configgroup.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,17 +96,13 @@ func (k *ConfigGroupProvider) Construct(ctx *pulumi.Context, typ, name string, i
objs[idx] = unstructured.Unstructured{Object: obj}
}

resources, err := ParseDecodeYamlFiles(ctx, &ParseArgs{
return ParseDecodeYamlFiles(ctx, &ParseArgs{
Files: files,
YAML: yaml,
Objects: objs,
ResourcePrefix: resourcePrefix,
SkipAwait: skipAwait,
}, true, k.clientSet, pulumi.Parent(comp))
if err != nil {
return pulumi.ArrayOutput{}, err
}
return resources, nil
}).(pulumi.ArrayOutput)

// issue: https://github.com/pulumi/pulumi/issues/15527
Expand Down

0 comments on commit b8757d7

Please sign in to comment.