mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-16 22:50:10 +03:00
Compatiblity for oZones with ruby1.9
This commit is contained in:
parent
d8a485ec9f
commit
40ddc00bc4
@ -94,7 +94,7 @@ EOT
|
||||
|
||||
body_str = ""
|
||||
|
||||
template.strip.each{|line|
|
||||
template.strip.each_line{|line|
|
||||
line.strip!
|
||||
key,value = line.split("=")
|
||||
body_str = body_str + key + "=" + URI.escape(value) + "&"
|
||||
@ -261,4 +261,4 @@ EOT
|
||||
OZonesClient::Error.new(e.message)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user