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.
(cherry picked from commit 0d957ec)

https://bugzilla.redhat.com/show_bug.cgi?id=1457924
  • Loading branch information
gmcculloug authored and simaishi committed Jun 1, 2017
1 parent 5b98bfb commit bc5d960
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 @@ -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
Expand Down

0 comments on commit bc5d960

Please sign in to comment.