Skip to content

Commit

Permalink
chore: small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
domenicsim1 committed Oct 19, 2023
1 parent 9ceb963 commit fd39af2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion octopusdeploy/resource_environment.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func resourceEnvironmentUpdate(ctx context.Context, d *schema.ResourceData, m in

environment := expandEnvironment(d)
client := m.(*client.Client)
updatedEnvironment, err := environments.Update(client, d.Get("space_id").(string), environment)
updatedEnvironment, err := environments.Update(client, environment)
if err != nil {
return diag.FromErr(err)
}
Expand Down

0 comments on commit fd39af2

Please sign in to comment.