From 111c59f9debfa1d9efff9c1039480b682d35922f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn?= Date: Wed, 19 Sep 2012 19:19:06 +0200 Subject: [PATCH] appflow: Fix client used to do the reverse name search --- flow/client/lib/appflow_client.rb | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/flow/client/lib/appflow_client.rb b/flow/client/lib/appflow_client.rb index f10557b693..00867ff935 100644 --- a/flow/client/lib/appflow_client.rb +++ b/flow/client/lib/appflow_client.rb @@ -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"