Skip to content

Commit

Permalink
Return nil rather than attempt to read
Browse files Browse the repository at this point in the history
  • Loading branch information
tleed5 committed Mar 26, 2024
1 parent f867c38 commit 17b4fa2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions octopusdeploy/resource_project_scheduled_trigger.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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 {
Expand Down

0 comments on commit 17b4fa2

Please sign in to comment.