Skip to content
This repository has been archived by the owner on Jul 25, 2023. It is now read-only.

Commit

Permalink
Merge pull request #154 from agrare/subclass_storages
Browse files Browse the repository at this point in the history
Add a storage subclass
  • Loading branch information
Fryguy authored Dec 10, 2019
2 parents 8d12e75 + 5052121 commit 551e580
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/models/manageiq/providers/microsoft/infra_manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ class ManageIQ::Providers::Microsoft::InfraManager < ManageIQ::Providers::InfraM
require_nested :Refresher
require_nested :RefreshWorker
require_nested :ResourcePool
require_nested :Storage
require_nested :Subnet
require_nested :Template
require_nested :Vm
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
class ManageIQ::Providers::Microsoft::InfraManager::Storage < ManageIQ::Providers::InfraManager::Storage
end
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ def assert_specific_storage
expect(@storage).to have_attributes(
:ems_ref => "8d585b11-3bb2-4be7-931c-b6cec81ec85d",
:name => storage_name,
:type => "ManageIQ::Providers::Microsoft::InfraManager::Storage",
:store_type => "CSVFS",
:total_space => 805_333_626_880,
:free_space => 704_289_169_408,
Expand Down

0 comments on commit 551e580

Please sign in to comment.