Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

modify supported versions for vblob

Change-Id: Idb8645da0c4d7c4bf8082e17687c3f29f20423ea
  • Loading branch information...
commit a46f726207eed916747b61b4f71748c25767add9 1 parent 332d873
@SlimYang SlimYang authored
View
1  vblob/bin/vblob_node
@@ -27,6 +27,7 @@ class VCAP::Services::VBlob::NodeBin < VCAP::Services::Base::NodeBin
options[:vblobd_log_dir] = parse_property(config, "vblobd_log_dir", String)
options[:vblobd_path] = parse_property(config, "vblobd_path", String)
options[:vblobd_auth] = parse_property(config, "vblobd_auth", String)
+ options[:supported_versions] = parse_property(config, "supported_versions", Array)
options
end
View
1  vblob/config/vblob_gateway.yml
@@ -7,6 +7,7 @@ service:
plans: ['free']
default_plan: free
tags: ['blob', 'blob-0.51', 'nosql']
+ supported_versions: ['0.51']
ip_route: localhost
#proxy:
# host: proxy
View
1  vblob/config/vblob_node.yml
@@ -16,6 +16,7 @@ vblobd_path: /var/vcap/packages/vblob
vblobd_auth: disabled
vblobd_quota: 2147483647
vblobd_obj_limit: 32768
+supported_versions: ['0.51']
port_range:
first: 45001
last: 65000
View
1  vblob/lib/vblob_service/vblob_node.rb
@@ -108,7 +108,6 @@ def initialize(options)
@free_ports = Set.new
options[:port_range].each {|port| @free_ports << port}
@mutex = Mutex.new
- @supported_versions = ["1.0"]
end
def fetch_port(port=nil)
Please sign in to comment.
Something went wrong with that request. Please try again.