mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-21 04:12:37 +09:00
appflow: Fix client used to do the reverse name search
This commit is contained in:
1 parent
cb72214938
commit
111c59f9de
1 file changed
+2
-12
@@ -120,12 +120,7 @@ module Service
|
||||
def self.rname_to_id(name, poolname)
|
||||
return 0, name.to_i if name.match(/^[0123456789]+$/)
|
||||
|
||||
client = Service::Client.new(nil, nil, nil)
|
||||
# client = Service::Client.new(
|
||||
# options[:username],
|
||||
# options[:password],
|
||||
# options[:server],
|
||||
# USER_AGENT)
|
||||
client = Service::Client.new()
|
||||
|
||||
resource_path = case poolname
|
||||
when "SERVICE" then "/service"
|
||||
@@ -169,12 +164,7 @@ module Service
|
||||
|
||||
def self.list_to_id(names, poolname)
|
||||
|
||||
client = Service::Client.new(nil, nil, nil)
|
||||
# client = Service::Client.new(
|
||||
# options[:username],
|
||||
# options[:password],
|
||||
# options[:server],
|
||||
# USER_AGENT)
|
||||
client = Service::Client.new()
|
||||
|
||||
resource_path = case poolname
|
||||
when "SERVICE" then "/service"
|
||||
|
||||
Reference in new issue
Block a user