mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
rstrip! the endpoint as well
I kept getting bad URI error when loading the endpoint from a file because there was a trailing newline. This fixes that problem.
This commit is contained in:
parent
9467b9d557
commit
67e524f2b0
@ -143,6 +143,8 @@ module OpenNebula
|
||||
else
|
||||
@one_endpoint = "http://localhost:2633/RPC2"
|
||||
end
|
||||
|
||||
@one_endpoint.rstrip!
|
||||
|
||||
@async = !options[:sync]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user