Skip to content

Commit

Permalink
Update processes on resourceTsuruApplicationUpdate
Browse files Browse the repository at this point in the history
  • Loading branch information
wpjunior committed Dec 27, 2023
1 parent a7bd8f7 commit 7ba2512
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions internal/provider/resource_tsuru_app.go
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,13 @@ func resourceTsuruApplicationUpdate(ctx context.Context, d *schema.ResourceData,
}
}

if m, ok := d.GetOk("process"); ok {
processes := processesFromResourceData(m)
if processes != nil {
app.Processes = processes
}
}

if desc, ok := d.GetOk("description"); ok {
app.Description = desc.(string)
}
Expand Down

0 comments on commit 7ba2512

Please sign in to comment.