Skip to content

Commit aafb9fe

Browse files
committed
update comment with PR
1 parent 2fa07c0 commit aafb9fe

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

internal/testing/testsdk/providerserver/tftypes.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,8 @@ func IdentityValuetoDynamicValue(schema *tfprotov6.ResourceIdentitySchema, value
120120
return &dynamicValue, nil
121121
}
122122

123-
// TODO: This should be replaced by a method from plugin-go -> (*tfprotov6.ResourceIdentitySchema).ValueType()
123+
// TODO: This should be replaced by the `ValueType` method from plugin-go:
124+
// https://github.com/hashicorp/terraform-plugin-go/pull/497
124125
func getIdentitySchemaValueType(schema *tfprotov6.ResourceIdentitySchema) tftypes.Type {
125126
if schema == nil || schema.IdentityAttributes == nil {
126127
return tftypes.Object{
@@ -148,7 +149,8 @@ func getIdentitySchemaValueType(schema *tfprotov6.ResourceIdentitySchema) tftype
148149
}
149150
}
150151

151-
// TODO: This should be replaced by a method from plugin-go -> (*tfprotov6.ResourceIdentitySchemaAttribute).ValueType()
152+
// TODO: This should be replaced by the `ValueType` method from plugin-go:
153+
// https://github.com/hashicorp/terraform-plugin-go/pull/497
152154
func getIdentityAttributeValueType(attr *tfprotov6.ResourceIdentitySchemaAttribute) tftypes.Type {
153155
if attr == nil {
154156
return nil

0 commit comments

Comments
 (0)