Skip to content

Commit

Permalink
Merge pull request #14429 from lfu/delete_checking_request_host_vmoti…
Browse files Browse the repository at this point in the history
…on_enabled

Remove the policy checking for request_host_vmotion_enabled.
  • Loading branch information
gmcculloug authored May 31, 2017
2 parents 3d2c7b3 + 62d0ffe commit 0d957ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/host.rb
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,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
Expand Down

0 comments on commit 0d957ec

Please sign in to comment.