Skip to content

Commit

Permalink
Fix to switch connection type
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreyMenezes committed Sep 21, 2017
1 parent 24fa76a commit f109fdd
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/models/manageiq/providers/lenovo/manager_mixin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module ManageIQ::Providers::Lenovo::ManagerMixin

AUTH_TYPES = {
'default' => 'token',
nil => 'token'
nil => 'basic_auth'
}.freeze

def description
Expand Down
Empty file.
Empty file.
Empty file.
2 changes: 1 addition & 1 deletion app/models/manageiq/providers/lenovo/physical_infra_manager/event_parser.rb
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ def self.event_to_hash(event, ems_id)
:full_data => event.to_hash,
:ems_id => ems_id
}
event_hash

event_hash
end

def self.get_physical_server_id(ems_ref)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ def process_collection(collection, key)
uid, new_result = yield(item)
next if uid.nil?


@data[key] << new_result
@data_index.store_path(key, uid, new_result)
end
Expand Down

0 comments on commit f109fdd

Please sign in to comment.