Skip to content

Commit

Permalink
F #2427: Changed compare function
Browse files Browse the repository at this point in the history
  • Loading branch information
juanmont authored and Ruben S. Montero committed Oct 15, 2018
1 parent 1dd6cab commit d8d3c7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/one_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1242,7 +1242,7 @@ def self.create_disk_net(objects, section, name)
user, object=*res

template<<"#{section.upcase}=[\n"
if object.casecmp? "auto"
if object.downcase == "auto"
template<<" NETWORK_MODE=\"#{object}\"\n"
else
template<<" #{name.upcase}_UNAME=\"#{user}\",\n" if user
Expand Down

0 comments on commit d8d3c7d

Please sign in to comment.