Commit 44e4b65f authored by Andrey Vertiprahov's avatar Andrey Vertiprahov
Browse files

Fix ReportPendingLink when empty DiscoveryID collection.

parent 9c3cc2cf
Pipeline #37643 passed with stages
in 16 minutes and 42 seconds
......@@ -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