Skip to content

Commit

Permalink
Merge pull request #16710 from Imaanpreet/validate_exit_maint_mode
Browse files Browse the repository at this point in the history
Fixed: ESxi host does not exit maintenance mode.
(cherry picked from commit 7a37a8a)

https://bugzilla.redhat.com/show_bug.cgi?id=1568042
  • Loading branch information
chessbyte authored and simaishi committed Apr 16, 2018
1 parent 790efa5 commit df48236
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/host.rb
Expand Up @@ -422,7 +422,7 @@ def enter_maint_mode
end

def exit_maint_mode
msg = validate_enter_maint_mode
msg = validate_exit_maint_mode
if msg[:available] && respond_to?(:vim_exit_maintenance_mode)
check_policy_prevent("request_host_exit_maintenance_mode", "vim_exit_maintenance_mode")
else
Expand Down

0 comments on commit df48236

Please sign in to comment.