Skip to content

Commit

Permalink
Fix incorrect attribute check
Browse files Browse the repository at this point in the history
  • Loading branch information
mattt416 committed Dec 12, 2013
1 parent 0b79402 commit 9bee3e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/default/partials/compute-options.partial.erb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ libvirt_inject_partition=<%= @libvirt_inject_partition %>
<% if not @libvirt_cpu_mode.nil? -%>
libvirt_cpu_mode=<%= @libvirt_cpu_mode %>
<% end %>
<% if @libvirt_cpu_model == "custom" and %w(kvm qemu).include?(@virt_type) -%>
<% if @libvirt_cpu_mode == "custom" and %w{kvm qemu}.include?(@virt_type) -%>
libvirt_cpu_model=<%= @libvirt_cpu_model %>
<% end %>
disk_cachemodes="<%= @disk_cachemodes.sort.join(',') %>"
Expand Down

0 comments on commit 9bee3e1

Please sign in to comment.