Skip to content

Commit

Permalink
Project: return success after removing ID (#1308)
Browse files Browse the repository at this point in the history
  • Loading branch information
lionello authored Jan 17, 2025
1 parent d904437 commit 593cff5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions digitalocean/project/resource_project.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ func resourceDigitalOceanProjectRead(ctx context.Context, d *schema.ResourceData
if resp != nil && resp.StatusCode == 404 {
log.Printf("[DEBUG] Project (%s) was not found - removing from state", d.Id())
d.SetId("")
return nil
}

return diag.Errorf("Error reading Project: %s", err)
Expand Down

0 comments on commit 593cff5

Please sign in to comment.