diff --git a/src/cli/one_helper.rb b/src/cli/one_helper.rb index 52ea8340ca..4406340d11 100644 --- a/src/cli/one_helper.rb +++ b/src/cli/one_helper.rb @@ -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