From ff539fc32dc93f52fdd64a8aed3d80bf7c2afb88 Mon Sep 17 00:00:00 2001 From: Yordis Prieto Date: Fri, 26 Apr 2024 19:10:52 -0400 Subject: [PATCH] chore: clarify documentation around reference type name Signed-off-by: Yordis Prieto --- docs/configuring-a-resource.md | 2 +- pkg/config/resource.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/configuring-a-resource.md b/docs/configuring-a-resource.md index 90c9a131..00ad1794 100644 --- a/docs/configuring-a-resource.md +++ b/docs/configuring-a-resource.md @@ -319,7 +319,7 @@ In Upjet, we have a [configuration] to provide this information for a field: // Reference represents the Crossplane options used to generate // reference resolvers for fields type Reference struct { - // Type is the type name of the CRD if it is in the same package or + // Type is the Go type name of the CRD if it is in the same package or // . if it is in a different package. Type string // TerraformName is the name of the Terraform resource diff --git a/pkg/config/resource.go b/pkg/config/resource.go index 58bec39b..b78fe81f 100644 --- a/pkg/config/resource.go +++ b/pkg/config/resource.go @@ -171,7 +171,7 @@ type References map[string]Reference // Reference represents the Crossplane options used to generate // reference resolvers for fields type Reference struct { - // Type is the type name of the CRD if it is in the same package or + // Type is the Go type name of the CRD if it is in the same package or // . if it is in a different package. Type string // TerraformName is the name of the Terraform resource