Skip to content

Commit

Permalink
Merge pull request #2807 from smelamud/supports-vm-import
Browse files Browse the repository at this point in the history
Use supports_vm_import? instead of validate_import_vm
  • Loading branch information
martinpovolny committed Nov 23, 2017
2 parents 56d76ae + 0bfc865 commit 108991d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -10,6 +10,6 @@ def disabled?

def destination_exists?
# Is there a provider that supports import?
ManageIQ::Providers::Redhat::InfraManager.all.detect(&:validate_import_vm).present?
ManageIQ::Providers::Redhat::InfraManager.all.detect(&:supports_vm_import?).present?
end
end
Expand Up @@ -14,7 +14,7 @@ def disabled?

def destination_exists?
# Is there a provider that supports import?
!EmsInfra.all.select(&:validate_import_vm).empty?
!EmsInfra.all.select(&:supports_vm_import?).empty?
end

def vm_down?
Expand Down

0 comments on commit 108991d

Please sign in to comment.