1
0
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:
Tino Vázquez 2023-06-15 11:20:35 +02:00
parent 86d7bb8f5a
commit de7d5c88f5
No known key found for this signature in database
GPG Key ID: 14201E424D02047E

View File

@ -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'])