Skip to content
This repository was archived by the owner on Jun 2, 2021. It is now read-only.

Commit 09168bc

Browse files
committed
v3(services) Update concurrency message on unbind
[174258120](https://www.pivotaltracker.com/n/projects/2105761/stories/174258120)
1 parent 648958d commit 09168bc

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

app/actions/v3/service_binding_delete.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,12 @@ def send_unbind_to_client(binding)
6969
details[:async] ? DeleteStarted.call(details[:operation]) : DeleteComplete
7070
rescue VCAP::Services::ServiceBrokers::V2::Errors::ConcurrencyError
7171
raise ConcurrencyError.new(
72-
'The service broker rejected the request due to an operation being in progress for the service route binding'
72+
'The service broker rejected the request due to an operation being in progress for the binding'
7373
)
7474
rescue CloudController::Errors::ApiError => err
7575
if err.name == 'AsyncServiceBindingOperationInProgress'
7676
raise ConcurrencyError.new(
77-
'The service broker rejected the request due to an operation being in progress for the service route binding'
77+
'The service broker rejected the request due to an operation being in progress for the binding'
7878
)
7979
end
8080
raise unprocessable!(binding, err)

spec/support/shared_examples/v3_service_binding_delete.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ class BadError < StandardError; end
7070
action.delete(binding)
7171
}.to raise_error(
7272
described_class::ConcurrencyError,
73-
'The service broker rejected the request due to an operation being in progress for the service route binding',
73+
'The service broker rejected the request due to an operation being in progress for the binding',
7474
)
7575

7676
binding.reload

0 commit comments

Comments
 (0)