mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-09 21:17:09 +08:00
vendor: update github.com/hashicorp/hcl/v2 to v2.19.1
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
2
vendor/github.com/zclconf/go-cty/cty/convert/public.go
generated
vendored
2
vendor/github.com/zclconf/go-cty/cty/convert/public.go
generated
vendored
@ -40,7 +40,7 @@ func GetConversionUnsafe(in cty.Type, out cty.Type) Conversion {
|
||||
// This is a convenience wrapper around calling GetConversionUnsafe and then
|
||||
// immediately passing the given value to the resulting function.
|
||||
func Convert(in cty.Value, want cty.Type) (cty.Value, error) {
|
||||
if in.Type().Equals(want) {
|
||||
if in.Type().Equals(want.WithoutOptionalAttributesDeep()) {
|
||||
return in, nil
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user