mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-08 08:38:16 -06:00
Fix runscript management command
Defining names for background jobs was disabled withfb75389
. The preceeding changes in257976d
did forget the management command.
This commit is contained in:
parent
32ebe7bebe
commit
ecf8e79fdd
@ -87,7 +87,6 @@ class Command(BaseCommand):
|
|||||||
ScriptJob = import_string("extras.jobs.ScriptJob")
|
ScriptJob = import_string("extras.jobs.ScriptJob")
|
||||||
job = ScriptJob.enqueue(
|
job = ScriptJob.enqueue(
|
||||||
instance=script_obj,
|
instance=script_obj,
|
||||||
name=script.name,
|
|
||||||
user=user,
|
user=user,
|
||||||
immediate=True,
|
immediate=True,
|
||||||
data=data,
|
data=data,
|
||||||
|
Loading…
Reference in New Issue
Block a user