Skip to content

Commit 01393e5

Browse files
authored
B #7144: Fix wild VMs migrator (#3715)
1 parent c925fa7 commit 01393e5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/onedb/local/6.10.0_to_7.0.0.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -320,9 +320,9 @@ def feature_6723
320320
short_doc.at_xpath('VM/ETIME').content = now
321321

322322
json = JSON.parse(row[:body_json])
323-
json[:VM][:STATE] = 6
324-
json[:VM][:LCM_STATE] = 0
325-
json[:VM][:ETIME] = now
323+
json['VM']['STATE'] = 6
324+
json['VM']['LCM_STATE'] = 0
325+
json['VM']['ETIME'] = now
326326

327327
@db[:vm_pool].filter(oid: row[:oid]).update(body: doc.root.to_s,
328328
short_body: short_doc.root.to_s,

0 commit comments

Comments
 (0)