Skip to content

Commit

Permalink
Update lib/foreman_bootdisk/engine.rb
Browse files Browse the repository at this point in the history
Co-Authored-By: Timo Goebel <[email protected]>
  • Loading branch information
Manisha15 and timogoebel committed Mar 12, 2020
1 parent 2eb26cb commit 6353a53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/foreman_bootdisk/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class Engine < ::Rails::Engine
Host::Managed.include ForemanBootdisk::Orchestration::Compute if SETTINGS[:unattended]
HostsHelper.prepend ForemanBootdisk::HostsHelperExt
Foreman::Model::Vmware.prepend ForemanBootdisk::ComputeResources::Vmware if Foreman::Model::Vmware.available?
ForemanFogProxmox::Proxmox.prepend ForemanBootdisk::ComputeResources::Proxmox if ForemanFogProxmox::Proxmox.available?
ForemanFogProxmox::Proxmox.prepend ForemanBootdisk::ComputeResources::Proxmox if defined?(ForemanFogProxmox)
rescue StandardError => e
Rails.logger.warn "#{ForemanBootdisk::ENGINE_NAME}: skipping engine hook (#{e})"
end
Expand Down

0 comments on commit 6353a53

Please sign in to comment.