Skip to content

Commit 048e874

Browse files
committed
Add supports :publish to VMware Infra VMs
This previously defaulted to true in core and providers set supports_not which is not the standard and allows for features accidentally being supported that aren't implemented.
1 parent 026308b commit 048e874

File tree

1 file changed

+3
-0
lines changed
  • app/models/manageiq/providers/vmware/infra_manager

1 file changed

+3
-0
lines changed

app/models/manageiq/providers/vmware/infra_manager/vm.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ class ManageIQ::Providers::Vmware::InfraManager::Vm < ManageIQ::Providers::Infra
99
supports :clone do
1010
unsupported_reason_add(:clone, _('Clone operation is not supported')) if blank? || orphaned? || archived?
1111
end
12+
supports :publish do
13+
unsupported_reason_add(:publish, _('Publish operation is not supported')) if blank? || orphaned? || archived?
14+
end
1215

1316
supports :reconfigure_disks
1417
supports :reconfigure_network_adapters

0 commit comments

Comments
 (0)