mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-07 17:17:41 +03:00
Merge pull request #4841 from al3xhh/290520
M #-: fix minor bug in onedb
This commit is contained in:
commit
9606d07aa6
@ -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 }
|
||||
|
Loading…
Reference in New Issue
Block a user