You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
field=models.TextField(default='', help_text='The work queue this task is submitted to, only nodes listening to this queue may process the task'),
17
+
),
18
+
migrations.AlterField(
19
+
model_name='task',
20
+
name='wrapper_uuid',
21
+
field=models.CharField(blank=True, default='', editable=False, help_text='Adopted UUID of DAB task app wrapper, attached when background service starts task', max_length=40),
Copy file name to clipboardExpand all lines: ansible_base/task/models.py
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -25,14 +25,17 @@ class Task(models.Model):
25
25
"""
26
26
27
27
uuid=models.UUIDField(primary_key=True, default=uuid4, editable=False, help_text=_('Original dispatcher UUID generated at time of task publishing'))
28
-
wrapper_uuid=models.UUIDField(null=True, default=None, editable=False, help_text=_('Adopted UUID of DAB task app wrapper, attached when background service starts task'))
28
+
# TODO: change back to UUIDField, workaround dispatcher using non-UUID uuids for now
29
+
# null=True
30
+
wrapper_uuid=models.CharField(blank=True, default='', max_length=40, editable=False, help_text=_('Adopted UUID of DAB task app wrapper, attached when background service starts task'))
0 commit comments