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.
  • Loading branch information
chessbyte authored Jan 5, 2018
2 parents 71459e8 + 08a073b commit 7a37a8a
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 @@ -417,7 +417,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 7a37a8a

Please sign in to comment.