Skip to content

Commit

Permalink
check supported storage type for vm scan
Browse files Browse the repository at this point in the history
  • Loading branch information
nasark committed Oct 11, 2023
1 parent 1d91f63 commit 0540f50
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ module ManageIQ::Providers::Ovirt::InfraManager::VmOrTemplateShared::Scanning
unless feature_supported
unsupported_reason_add(:smartstate_analysis, reason)
end
unless storage.storage_type_supported_for_ssa?
unsupported_reason_add(:smartstate_analysis, "Smartstate Analysis unsupported for storage type %{store_type}" % {:store_type => storage.store_type})
end
end
end

Expand Down

0 comments on commit 0540f50

Please sign in to comment.