Skip to content

Commit

Permalink
Update service_broker after changes in vcap-services-base:
Browse files Browse the repository at this point in the history
{GatewayProvisionResponse,GatewayBindResponse} have been replaced
by just GatewayHandleResponse.

Change-Id: Ifcb7b9b8017f6781998e93a27b8d0cf8ae030a23
  • Loading branch information
Andrea Campi committed Aug 23, 2012
1 parent b77b9da commit ecdc82e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions service_broker/lib/service_broker/async_gateway.rb
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit ecdc82e

Please sign in to comment.