Permalink
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...
1 parent b77b9da commit ecdc82e452665285a52692f0ad0b5f99ff24c742 @andreacampi andreacampi committed Aug 23, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 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

0 comments on commit ecdc82e

Please sign in to comment.