mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-23 05:04:56 +09:00
Merge pull request #4841 from al3xhh/290520
M #-: fix minor bug in onedb
This commit is contained in:
1 file changed
+2
-2
+2
-2
@@ -133,10 +133,10 @@ class OneDB
|
||||
ops[:passwd] = aug.get('DB/PASSWD')
|
||||
ops[:db_name] = aug.get('DB/DB_NAME')
|
||||
|
||||
ops = ops.transform_values do |v|
|
||||
ops.each do |k, v|
|
||||
next unless v
|
||||
|
||||
v.chomp('"').reverse.chomp('"').reverse
|
||||
ops[k] = v.chomp('"').reverse.chomp('"').reverse
|
||||
end
|
||||
|
||||
ops.each {|_, v| v.gsub!("\\", '') if v }
|
||||
|
||||
Reference in new issue
Block a user