mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-29 18:50:08 +03:00
L #-: Change return for next within a loop
(cherry picked from commit 60b1cd861f75ef45be86e048f8999f3a42522b6e)
This commit is contained in:
parent
86d7bb8f5a
commit
de7d5c88f5
@ -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