Skip to content

Commit

Permalink
Merge pull request #887 from nasark/add_supports_storage_smartstate_a…
Browse files Browse the repository at this point in the history
…nalysis

Add supports storage smartstate_analysis

(cherry picked from commit 1c73716)
  • Loading branch information
agrare authored and Fryguy committed Jan 5, 2024
1 parent 2745dd8 commit 624712b
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ module ManageIQ::Providers::Vmware::InfraManager::VmOrTemplateShared::Scanning
unless feature_supported
unsupported_reason_add(:smartstate_analysis, reason)
end
if storage.nil?
unsupported_reason_add(:smartstate_analysis, "Vm is not located on a storage")
elsif !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 624712b

Please sign in to comment.