Skip to content

Commit

Permalink
Merge pull request #88 from agrare/remove_duplicate_save_inventory
Browse files Browse the repository at this point in the history
Cleanup duplicate refresher methods
  • Loading branch information
Ladas authored Oct 13, 2017
2 parents 4c70e6f + 7fd4146 commit 8b674ea
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,5 @@ def parse_legacy_inventory(ems)

ManageIQ::Providers::Lenovo::PhysicalInfraManager::RefreshParser.ems_inv_to_hashes(ems, refresher_options)
end

def save_inventory(ems, target, hashes)
EmsRefresh.save_ems_inventory(ems, hashes)
end

def post_process_refresh_classes
[]
end

end
end
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
it 'will save the inventory' do
ems.authentications = [auth]

refresher.save_inventory(ems, {}, {})
refresher.save_inventory(ems, nil, {})
end

it 'will execute post_process_refresh_classes' do
Expand Down

0 comments on commit 8b674ea

Please sign in to comment.