1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

CLI one_helper allows for changes in secret and endpoint

This commit is contained in:
Tino Vázquez 2011-06-17 13:14:07 +02:00
parent 17ad24169e
commit 2447e7d99e

View File

@ -64,8 +64,8 @@ EOT
OPTIONS = XML, NUMERIC, KILOBYTES
class OneHelper
def initialize
@client = OpenNebula::Client.new
def initialize(secret=nil, endpoint=nil)
@client = OpenNebula::Client.new(secret,endpoint)
@translation_hash = nil
end