We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09208c6 commit 8ff37b8Copy full SHA for 8ff37b8
openwisp_controller/connection/tasks.py
@@ -36,8 +36,8 @@ def _release_update_config_lock(device_id):
36
cache.delete(lock_key)
37
38
39
-@shared_task(bind=True)
40
-def update_config(self, device_id):
+@shared_task
+def update_config(device_id):
41
"""
42
Launches the ``update_config()`` operation
43
of a specific device in the background
0 commit comments