Skip to content

Commit

Permalink
Fixes project resolve age updating (#6)
Browse files Browse the repository at this point in the history
Previously the resolve age was never send when updating the project
resurce causing plan to always display changes to apply.
  • Loading branch information
johanneswuerbach authored and jianyuan committed Oct 6, 2016
1 parent a355a34 commit 90aa787
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions resource_sentry_project.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ func resourceSentryProjectUpdate(d *schema.ResourceData, meta interface{}) error
params := &UpdateProjectParams{
Name: d.Get("name").(string),
Slug: d.Get("slug").(string),
Options: UpdateProjectOptionsParams{
ResolveAge: d.Get("resolve_age").(int),
},
}

proj, _, err := client.UpdateProject(org, slug, params)
Expand Down

0 comments on commit 90aa787

Please sign in to comment.