mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-20 14:03:36 +03:00
M #-: Fix monitoring for Ubuntu2404 (#3118)
For a small performance penalty, it solves error "can't modify frozen Array"
This commit is contained in:
parent
24abd5790d
commit
3b3fe1ce40
@ -147,7 +147,7 @@ class VirtualMachineDB
|
||||
# ----------------------------------------------------------------------
|
||||
# check missing VMs
|
||||
# ----------------------------------------------------------------------
|
||||
uuids = @db.execute("SELECT uuid FROM #{@dataset}").flatten!
|
||||
uuids = @db.execute("SELECT uuid FROM #{@dataset}").flatten
|
||||
uuids ||= []
|
||||
|
||||
(uuids - monitor_ids).each do |uuid|
|
||||
|
Loading…
x
Reference in New Issue
Block a user