From c0b7285084e165604206d44f5582625ccab9a008 Mon Sep 17 00:00:00 2001 From: Huy Nguyen Date: Wed, 4 Dec 2024 16:50:38 +1000 Subject: [PATCH] Fix test fail --- octopusdeploy_framework/resource_deployment_freeze_project.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/octopusdeploy_framework/resource_deployment_freeze_project.go b/octopusdeploy_framework/resource_deployment_freeze_project.go index 14cf1acc..4dd5465f 100644 --- a/octopusdeploy_framework/resource_deployment_freeze_project.go +++ b/octopusdeploy_framework/resource_deployment_freeze_project.go @@ -112,7 +112,7 @@ func (d *deploymentFreezeProjectResource) Update(ctx context.Context, req resour return } - resp.Diagnostics.Append(resp.State.Set(ctx, &state)...) + resp.Diagnostics.Append(resp.State.Get(ctx, &state)...) if resp.Diagnostics.HasError() { return }