mirror of
https://github.com/OpenNebula/one.git
synced 2024-12-23 17:33:56 +03:00
bug #657: Change vm_name template to string instead of symbol
This commit is contained in:
parent
486b601e18
commit
ea247285d4
@ -33,7 +33,7 @@ module OpenNebulaJSON
|
||||
template_id = vm_hash['template_id']
|
||||
|
||||
template = "TEMPLATE_ID = #{template_id}"
|
||||
template << "\nNAME = #{vm_hash[:vm_name]}" if vm_hash[:vm_name]
|
||||
template << "\nNAME = #{vm_hash['vm_name']}" if vm_hash['vm_name']
|
||||
|
||||
else
|
||||
template = template_to_str(vm_hash)
|
||||
|
Loading…
Reference in New Issue
Block a user