Skip to content

Commit

Permalink
Fix pf
Browse files Browse the repository at this point in the history
  • Loading branch information
blampe authored and t0yv0 committed Dec 4, 2023
1 parent 1edb7fb commit 8aa34d1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pf/internal/plugin/provider_context.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,10 @@ func (prov *provider) Delete(
timeout)
}

func (prov *provider) Construct(info plugin.ConstructInfo, typ tokens.Type, name tokens.QName, parent resource.URN,
inputs resource.PropertyMap, options plugin.ConstructOptions) (plugin.ConstructResult, error) {
return prov.ProviderWithContext.ConstructWithContext(prov.ctx, info, typ, name, parent, inputs, options)
func (prov *provider) Construct(info plugin.ConstructInfo, typ tokens.Type, name string, parent resource.URN,
inputs resource.PropertyMap, options plugin.ConstructOptions,
) (plugin.ConstructResult, error) {
return prov.ProviderWithContext.ConstructWithContext(prov.ctx, info, typ, tokens.QName(name), parent, inputs, options)
}

func (prov *provider) Invoke(tok tokens.ModuleMember,
Expand Down

0 comments on commit 8aa34d1

Please sign in to comment.