diff --git a/app/models/manageiq/providers/redhat/inventory/collector.rb b/app/models/manageiq/providers/redhat/inventory/collector.rb index 0ab5ad8d9..a31a320d2 100644 --- a/app/models/manageiq/providers/redhat/inventory/collector.rb +++ b/app/models/manageiq/providers/redhat/inventory/collector.rb @@ -158,6 +158,12 @@ def collect_dc_domains(dc) end end + def collect_disks_of_snapshot(snapshot) + manager.with_provider_connection(VERSION_HASH) do |connection| + connection.follow_link(snapshot.disks) + end + end + def collect_vm_disks(vm) manager.with_provider_connection(VERSION_HASH) do |connection| disk_attachments = connection.follow_link(vm.disk_attachments)