Fix typos that stop rook01 and rook02 joining the cluster

This commit is contained in:
Gavin Hamill committed 2017-05-18 14:47:47 +01:00
1 parent d6ff4a4f4c
commit 75ee15a5c8
1 file changed
+2 -2
+2 -2
View File
@@ -23,10 +23,10 @@ require_relative 'util.rb'
require 'open-uri'
if File.exists?('.discovery-token')
token = IO.readlines(".discovery-token")[0..-1].join
discovery_token = IO.readlines(".discovery-token")[0..-1].join
else
discovery_token = open($new_discovery_url).read
File.open(".discovery-token", 'w') { |file| file.write("#{token}") }
File.open(".discovery-token", 'w') { |file| file.write("#{discovery_token}") }
end
private_build = false