mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-25 06:03:36 +03:00
L #-: Change return for next within a loop
This commit is contained in:
parent
95cbd9f8f7
commit
60b1cd861f
@ -215,7 +215,7 @@ class OneDBLive
|
||||
# Renumerate sequence numbers
|
||||
old_seq.each_with_index do |o_seq, index|
|
||||
row = history.find {|r| o_seq.to_s == r['seq'] }
|
||||
return unless row
|
||||
next unless row
|
||||
|
||||
body = Base64.decode64(row['body64'])
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user