Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update service_broker after changes in vcap-services-base:

{GatewayProvisionResponse,GatewayBindResponse} have been replaced
by just GatewayHandleResponse.

Change-Id: Ifcb7b9b8017f6781998e93a27b8d0cf8ae030a23
  • Loading branch information...
commit ecdc82e452665285a52692f0ad0b5f99ff24c742 1 parent b77b9da
@andreacampi andreacampi authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 service_broker/lib/service_broker/async_gateway.rb
View
4 service_broker/lib/service_broker/async_gateway.rb
@@ -244,7 +244,7 @@ def on_exit(stop_event_loop=true)
Fiber.new {
msg = provision_brokered_service(req)
if msg['success']
- async_reply(VCAP::Services::Api::GatewayProvisionResponse.new(msg['response']).encode)
+ async_reply(VCAP::Services::Api::GatewayHandleResponse.new(msg['response']).encode)
else
async_reply_error(msg['response'])
end
@@ -260,7 +260,7 @@ def on_exit(stop_event_loop=true)
Fiber.new {
msg = bind_brokered_service_instance(req.label, req.service_id, req.binding_options)
if msg['success']
- async_reply(VCAP::Services::Api::GatewayBindResponse.new(msg['response']).encode)
+ async_reply(VCAP::Services::Api::GatewayHandleResponse.new(msg['response']).encode)
else
async_reply_error(msg['response'])
end
Please sign in to comment.
Something went wrong with that request. Please try again.