Skip to content

Commit

Permalink
Revert "Fixes #23196 - Add default values for cores and socket in VM"
Browse files Browse the repository at this point in the history
This reverts commit c0e00d6.
  • Loading branch information
tbrisker committed Apr 11, 2018
1 parent c0e00d6 commit c7d064a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/compute_resources_vms/form/ovirt/_base.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
<% selected_cluster ||= params[:host] && params[:host][:compute_attributes] && params[:host][:compute_attributes][:cluster] %>
<%= counter_f f, :cores, :disabled => !new_vm, :label => _('Cores'), :label_size => 'col-md-2', :'data-soft-max' => compute_resource.max_cpu_count, :value => 1 %>
<%= counter_f f, :cores, :disabled => !new_vm, :label => _('Cores'), :label_size => 'col-md-2', :'data-soft-max' => compute_resource.max_cpu_count %>
<%= counter_f f, :sockets, :disabled => !new_vm, :label => _('Sockets'), :label_size => 'col-md-2', :'data-soft-max' => compute_resource.max_socket_count, :value => 1 %>
<%= counter_f f, :sockets, :disabled => !new_vm, :label => _('Sockets'), :label_size => 'col-md-2', :'data-soft-max' => compute_resource.max_socket_count %>
<%= byte_size_f f, :memory, :disabled => !new_vm, :label => _('Memory'), :label_size => "col-md-2", :'data-soft-max' => compute_resource.max_memory %>
Expand Down

0 comments on commit c7d064a

Please sign in to comment.