File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
internal/testing/testsdk/providerserver Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff 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
124125func 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
152154func getIdentityAttributeValueType (attr * tfprotov6.ResourceIdentitySchemaAttribute ) tftypes.Type {
153155 if attr == nil {
154156 return nil
You can’t perform that action at this time.
0 commit comments