Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add supported version and version aliases in CC advertise request

Change-Id: I863411131ca1e052e0668b3e8e6c44402d6a52f7
  • Loading branch information...
commit 23c1c57c2aaf07710efe2abc2cee9041e831dc5c 1 parent 16a3eb5
Harshawardhan Gadgil authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  service_broker/lib/service_broker/async_gateway.rb
View
2  service_broker/lib/service_broker/async_gateway.rb
@@ -304,6 +304,8 @@ def advertise_brokered_service(request)
svc[:url] = "http://#{@external_uri}"
svc[:plans] = ["default"]
svc[:tags] = ["default"]
+ svc[:supported_versions] = [ version ]
+ svc[:version_aliases] = { "current" => version }
# update or create local database entry
bsvc = BrokeredService.get(svc[:label])
Please sign in to comment.
Something went wrong with that request. Please try again.