1
0
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:
Tino Vázquez 2023-06-15 11:20:35 +02:00
parent 95cbd9f8f7
commit 60b1cd861f
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'])