mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
B #5366: Fix extra new line in description
Applies to VMs imported from vCenter. (cherry picked from commit 4c1deb51e1f01b45b4ebe7bfa95871ed1c9e0035)
This commit is contained in:
parent
94befb31eb
commit
8f32fafae2
@ -1573,9 +1573,8 @@ module VCenterDriver
|
||||
str << "]\n"
|
||||
|
||||
if annotation.nil? || annotation.empty?
|
||||
str << 'DESCRIPTION = "vCenter Template \
|
||||
imported by OpenNebula' \
|
||||
" from Cluster #{ccr_name}\"\n"
|
||||
str << 'DESCRIPTION = "vCenter Template imported by OpenNebula'\
|
||||
" from Cluster #{ccr_name}\"\n"
|
||||
else
|
||||
notes = annotation.gsub('\\', '\\\\').gsub('"', '\\"')
|
||||
str << "DESCRIPTION = \"#{notes}\"\n"
|
||||
|
Loading…
x
Reference in New Issue
Block a user