Skip to content

Commit

Permalink
Merge pull request cloudfoundry-community#252 from alphagov/fix_servi…
Browse files Browse the repository at this point in the history
…ce_binding_update

Fix app_resource service binding update
  • Loading branch information
ArthurHlt authored Apr 21, 2020
2 parents 479df9d + b1f4069 commit 4bf2255
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloudfoundry/resource_cf_app.go
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ func resourceAppUpdate(d *schema.ResourceData, meta interface{}) error {
})

for _, r := range remove {
bindings, _, err := session.ClientV2.GetRouteMappings(filterAppGuid(d.Id()), filterServiceInstanceGuid(r["service_instance"].(string)))
bindings, _, err := session.ClientV2.GetServiceBindings(filterAppGuid(d.Id()), filterServiceInstanceGuid(r["service_instance"].(string)))
if err != nil {
return err
}
Expand Down

0 comments on commit 4bf2255

Please sign in to comment.