diff --git a/app/models/manageiq/providers/lenovo/manager_mixin.rb b/app/models/manageiq/providers/lenovo/manager_mixin.rb index 5cc9cb3f57..412c34a5ec 100644 --- a/app/models/manageiq/providers/lenovo/manager_mixin.rb +++ b/app/models/manageiq/providers/lenovo/manager_mixin.rb @@ -71,19 +71,19 @@ def discover(ip_address, port) EmsRefresh.queue_refresh(new_ems) unless new_ems.blank? end - def discover_queue(username, password, zone = nil) + def discover_queue(ip_address, port, zone = nil) MiqQueue.put( :class_name => name, :method_name => "discover_from_queue", - :args => [username, MiqPassword.encrypt(password)], + :args => [ip_address, port], :zone => zone ) end private - def discover_from_queue(username, password) - discover(username, '') + def discover_from_queue(ip_address, port) + discover(ip_address, port) end def create_default_authentications(ems)