From 7f5b05684e66b79ea29adc1698ec9bf83028f65b Mon Sep 17 00:00:00 2001 From: hnrkndrssn Date: Thu, 8 Aug 2024 15:44:16 +1000 Subject: [PATCH] chore: update resource description for project --- octopusdeploy_framework/resource_project.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/octopusdeploy_framework/resource_project.go b/octopusdeploy_framework/resource_project.go index bcefbbf69..7a8ece169 100644 --- a/octopusdeploy_framework/resource_project.go +++ b/octopusdeploy_framework/resource_project.go @@ -94,7 +94,7 @@ func (r *projectResource) Read(ctx context.Context, req resource.ReadRequest, re project, err := projects.GetByID(r.Client, state.SpaceID.ValueString(), state.ID.ValueString()) if err != nil { - if err := errors.ProcessApiErrorV2(ctx, resp, state, err, "lifecycle"); err != nil { + if err := errors.ProcessApiErrorV2(ctx, resp, state, err, "project"); err != nil { resp.Diagnostics.AddError("Error reading project", err.Error()) } return