From 17b4fa2d4ce0a770bd947c53e90cbafb7dac2069 Mon Sep 17 00:00:00 2001 From: Travis Leeden Date: Tue, 26 Mar 2024 15:34:06 +1000 Subject: [PATCH] Return nil rather than attempt to read --- octopusdeploy/resource_project_scheduled_trigger.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/octopusdeploy/resource_project_scheduled_trigger.go b/octopusdeploy/resource_project_scheduled_trigger.go index a4b188238..9796a9970 100644 --- a/octopusdeploy/resource_project_scheduled_trigger.go +++ b/octopusdeploy/resource_project_scheduled_trigger.go @@ -60,7 +60,7 @@ func resourceProjectScheduledTriggerCreate(ctx context.Context, d *schema.Resour d.SetId(scheduledTrigger.GetID()) } - return resourceProjectScheduledTriggerRead(ctx, d, m) + return nil } func resourceProjectScheduledTriggerUpdate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { @@ -84,7 +84,7 @@ func resourceProjectScheduledTriggerUpdate(ctx context.Context, d *schema.Resour d.SetId(scheduledTrigger.GetID()) - return resourceProjectScheduledTriggerRead(ctx, d, m) + return nil } func resourceProjectScheduledTriggerDelete(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics {