Skip to content

Commit

Permalink
chore: update resource description for project
Browse files Browse the repository at this point in the history
  • Loading branch information
hnrkndrssn committed Aug 9, 2024
1 parent ffcddfa commit 7f5b056
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion octopusdeploy_framework/resource_project.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7f5b056

Please sign in to comment.