Skip to content

Commit

Permalink
Merge pull request #14016 from romanblanco/bz1306471
Browse files Browse the repository at this point in the history
[EUWE] Remove disabling of 'instance_retire' button
  • Loading branch information
martinpovolny authored Feb 22, 2017
2 parents 818f133 + 7610fda commit d40f9bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/application_helper/toolbar_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1133,7 +1133,7 @@ def build_toolbar_disable_button(id)
if @record.current_state != "on"
return N_("The web-based VNC console is not available because the VM is not powered on")
end
when "instance_retire", "instance_retire_now"
when "instance_retire_now"
return N_("Instance is already retired") if @record.retired
when "vm_timeline"
unless @record.has_events? || @record.has_events?(:policy_events)
Expand Down

0 comments on commit d40f9bb

Please sign in to comment.