Skip to content

Commit

Permalink
feat: enhance function Details with provider version as well
Browse files Browse the repository at this point in the history
  • Loading branch information
ansgarm committed Feb 9, 2024
1 parent dd75796 commit 5d74755
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions schema/provider_schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,7 @@ func (ps *ProviderSchema) SetProviderVersion(pAddr tfaddr.Provider, v *version.V
for _, dsSchema := range ps.DataSources {
dsSchema.Detail = detailForSrcAddr(pAddr, v)
}
for _, fSig := range ps.Functions {
fSig.Detail = detailForSrcAddr(pAddr, v)

Check failure on line 65 in schema/provider_schema.go

View workflow job for this annotation

GitHub Actions / test (ubuntu-latest)

fSig.Detail undefined (type *"github.com/hashicorp/hcl-lang/schema".FunctionSignature has no field or method Detail)

Check failure on line 65 in schema/provider_schema.go

View workflow job for this annotation

GitHub Actions / test (macos-latest)

fSig.Detail undefined (type *"github.com/hashicorp/hcl-lang/schema".FunctionSignature has no field or method Detail)
}
}

0 comments on commit 5d74755

Please sign in to comment.