mirror of
https://github.com/ansible/awx.git
synced 2026-05-09 10:27:37 -02:30
rename uuid field to trigger restart on update
* Since we trigger a restart on update, we can also cache the tower uuid value in the formatter init. So do that.
This commit is contained in:
@@ -315,12 +315,12 @@ register(
|
||||
category_slug='logging',
|
||||
)
|
||||
register(
|
||||
'LOG_TOWER_UUID',
|
||||
'LOG_AGGREGATOR_TOWER_UUID',
|
||||
field_class=fields.CharField,
|
||||
allow_blank=True,
|
||||
label=_('Cluster-wide Tower unique identifier.'),
|
||||
help_text=_('Useful to uniquely identify Tower instances.'),
|
||||
category=_('Logging'),
|
||||
category_slug='logging',
|
||||
default=uuid.uuid4(),
|
||||
default=None,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user