We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17d3d2d commit 463baa4Copy full SHA for 463baa4
bin/lib/crawlers.py
@@ -125,7 +125,7 @@ def add_domain_correlation_cache(domain, obj_gid):
125
def save_domain_correlation_cache(is_domain_up, domain):
126
if is_domain_up:
127
dom = Domain(domain)
128
- for obj_gid in r_cache.sadd(f'cache:domain:correlation:objs:{domain}'):
+ for obj_gid in r_cache.smembers(f'cache:domain:correlation:objs:{domain}'):
129
obj_type, obj_subtype, obj_id = obj_gid.split(':', 2)
130
if not obj_subtype:
131
obj_subtype = ''
0 commit comments