Skip to content

Commit

Permalink
Fix erroneous id in migrate task failure message
Browse files Browse the repository at this point in the history
  • Loading branch information
mansam committed Jan 26, 2017
1 parent c74e3ab commit f3d2441
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/application_controller/ci_processing.rb
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ def live_migrate_vm
}
task_id = @record.class.live_migrate_queue(session[:userid], @record, options)
unless task_id.kind_of?(Integer)
add_flash(_("Instance live migration task %{id} failed.") % {:id => task_id.to_s}, :error)
add_flash(_("Instance live migration task failed."), :error)
end

return javascript_flash(:spinner_off => true) if @flash_array
Expand Down

0 comments on commit f3d2441

Please sign in to comment.