mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
Fixes bug by chaning the scope of error
(cherry picked from commit d7bb9c2829c42065089430e806c4bd76c8ee9a63)
This commit is contained in:
parent
49058dd4ab
commit
b36ec8ba6f
@ -170,9 +170,8 @@ module OneDBFsck
|
||||
|
||||
counter_no_ar = counters[:vnet][row[:oid]][:no_ar_leases]
|
||||
|
||||
error = false
|
||||
counters[:vnet][row[:oid]][:ar_leases].each do |ar_id, counter_ar|
|
||||
error = false
|
||||
|
||||
net_ar = doc.root.at_xpath("AR_POOL/AR[AR_ID=#{ar_id}]")
|
||||
|
||||
if (net_ar.nil?)
|
||||
|
Loading…
x
Reference in New Issue
Block a user