From 5c3766c1ab5875ccf1460c427fe9dfddb1ce504a Mon Sep 17 00:00:00 2001 From: Ansgar Mertens Date: Wed, 12 Feb 2025 09:27:05 +0100 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Austin Valle --- .changes/unreleased/NOTES-20250210-175414.yaml | 2 +- tfprotov6/provider.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.changes/unreleased/NOTES-20250210-175414.yaml b/.changes/unreleased/NOTES-20250210-175414.yaml index 8d3b61e6..e3c64a48 100644 --- a/.changes/unreleased/NOTES-20250210-175414.yaml +++ b/.changes/unreleased/NOTES-20250210-175414.yaml @@ -1,5 +1,5 @@ kind: NOTES -body: 'tfprotov5+tfprotov6: An upcoming release will require the `ProviderServerWithResourceIdentity` implementation as part of `ProviderServer`.' +body: 'tfprotov5+tfprotov6: An upcoming release will require the `GetResourceIdentitySchemas` and `UpgradeResourceIdentity` implementations as part of `ProviderServer`.' time: 2025-02-10T17:54:14.054598+01:00 custom: Issue: "476" diff --git a/tfprotov6/provider.go b/tfprotov6/provider.go index be671289..80bfaa60 100644 --- a/tfprotov6/provider.go +++ b/tfprotov6/provider.go @@ -177,7 +177,7 @@ type GetResourceIdentitySchemasRequest struct{} // GetResourceIdentitySchemasResponse represents a Terraform RPC response containing // the provider's resource identity schemas. type GetResourceIdentitySchemasResponse struct { - // ResourceSchemas is a map of resource names to the schema for the + // IdentitySchemas is a map of resource names to the schema for the // identity specified for the resource. The name should be a // resource name, and should be prefixed with your provider's shortname // and an underscore. It should match the first label after `resource`