mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-16 04:02:52 -06:00
fix the result of script jobs #14549
This commit is contained in:
parent
ec245b968f
commit
12beac4f1a
@ -114,7 +114,7 @@ class Command(BaseCommand):
|
|||||||
# Create the job
|
# Create the job
|
||||||
job = Job.objects.create(
|
job = Job.objects.create(
|
||||||
object=module,
|
object=module,
|
||||||
name=script.name,
|
name=script.class_name,
|
||||||
user=User.objects.filter(is_superuser=True).order_by('pk')[0],
|
user=User.objects.filter(is_superuser=True).order_by('pk')[0],
|
||||||
job_id=uuid.uuid4()
|
job_id=uuid.uuid4()
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user