Commit b033cd85 authored by Andrey Vertiprahov's avatar Andrey Vertiprahov
Browse files

Merge branch 'noc-1925' into 'master'

noc/noc#1925 Fix ReportPendingLink when empty DiscoveryID collection.

See merge request noc/noc!6677
parents afee8aed 0e5aba14
......@@ -65,8 +65,10 @@ class ReportPendingLinks(object):
],
allowDiskUse=True,
)
find = next(find)
duplicate_macs = set(find["mos"])
duplicate_macs = set()
find = next(find, None)
if find:
duplicate_macs = set(find["mos"])
while mos_job[(0 + n) : (10000 + n)]:
job_logs = (
get_db()["noc.joblog"]
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment