bugfix, resetting onboards using crawling, not crawl_started

parent e0d7a0a2
Pipeline #35459624 passed with stages
in 22 minutes and 23 seconds
......@@ -16,7 +16,7 @@ class Command(VerifyTaskCommand):
try:
expired = Url.objects.all().filter(onboarding_stage__in=['endpoint_discovery', 'scans_running',
'crawl_started'])
'crawling'])
for url in expired:
log.debug("Forwarding onboarding status of %s" % url)
......
......@@ -20,7 +20,7 @@ class Command(VerifyTaskCommand):
try:
expired = Url.objects.all().filter(onboarding_stage__in=['endpoint_discovery', 'scans_running',
'crawl_started'])
'crawling'])
for url in expired:
log.debug("Resetting onboarding status of %s" % url)
......
......@@ -34,7 +34,7 @@ def compose_task(
V endpoint_finished done, ready for next stage
V scans_running running a series of scans on the endpoints
V scans_finished done, ready for next stage
V crawl_started trying to find more endpoints (via DNS)
V crawling trying to find more endpoints (via DNS)
V crawl_finished IMPLICIT! Last step will not be saved.
- onboarded onboarding completed
......
Markdown is supported
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