ManageIQ/manageiq-providers-kubevirt

View on GitHub
app/models/manageiq/providers/kubevirt/infra_manager/template.rb

Summary

Maintainability
A
0 mins
Test Coverage
F
42%
class ManageIQ::Providers::Kubevirt::InfraManager::Template < ManageIQ::Providers::InfraManager::Template
  supports :provisioning do
    if ext_management_system
      ext_management_system.unsupported_reason(:provisioning)
    else
      _('not connected to ems')
    end
  end

  def self.display_name(number = 1)
    n_('Template (Kubevirt)', 'Templates (Kubevirt)', number)
  end
end