mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-20 03:42:52 +09:00
Fixes bug by chaning the scope of error
This commit is contained in:
1 parent
e167aaad84
commit
d7bb9c2829
1 file changed
+1
-2
@@ -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?)
|
||||
|
||||
Reference in new issue
Block a user