Skip to content

Commit

Permalink
Drop deprecated attribute 'Host#address'
Browse files Browse the repository at this point in the history
  • Loading branch information
kbrock committed Jul 7, 2017
1 parent c453f09 commit 501f663
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion app/models/mixins/vim_connect_mixin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def connect(options = {})
options[:ems] = self
MiqFaultTolerantVim.new(options)
else
ip = options[:ip] || address
ip = options[:ip] || hostname
user = options[:user] || authentication_userid(options[:auth_type])
pass = options[:pass] || authentication_password(options[:auth_type])
MiqVim.new(ip, user, pass)
Expand Down
1 change: 0 additions & 1 deletion app/models/vm_or_template.rb
Original file line number Diff line number Diff line change
Expand Up @@ -789,7 +789,6 @@ def ems_host_list
[ext_management_system, "ems", host, "host"].each_slice(2) do |ems, type|
if ems
params[type] = {
:address => ems.address,
:hostname => ems.hostname,
:ipaddress => ems.ipaddress,
:username => ems.authentication_userid,
Expand Down

0 comments on commit 501f663

Please sign in to comment.