diff --git a/app/models/host.rb b/app/models/host.rb index 49b9cdae0b8..8abc2c855e7 100644 --- a/app/models/host.rb +++ b/app/models/host.rb @@ -476,7 +476,7 @@ def disable_vmotion def vmotion_enabled? msg = validate_vmotion_enabled? if msg[:available] && respond_to?(:vim_vmotion_enabled?) - check_policy_prevent("request_host_vmotion_enabled", "vim_vmotion_enabled?") + vim_vmotion_enabled? else _log.warn("Cannot check if vmotion is enabled because <#{msg[:message]}>") end