appflow: Fix client used to do the reverse name search

This commit is contained in:
Carlos Martín committed 2012-09-19 19:19:06 +02:00
1 parent cb72214938
commit 111c59f9de
1 file changed
+2 -12
+2 -12
View File
@@ -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"