mirror of
https://github.com/ansible/awx.git
synced 2026-02-25 15:06:02 -03:30
Merge pull request #11989 from AlanCoding/deprecate_uopu
Mark inventory source field for deprecation
This commit is contained in:
@@ -0,0 +1,21 @@
|
|||||||
|
# Generated by Django 3.2.12 on 2022-03-31 17:28
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('main', '0158_make_instance_cpu_decimal'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='inventorysource',
|
||||||
|
name='update_on_project_update',
|
||||||
|
field=models.BooleanField(
|
||||||
|
default=False,
|
||||||
|
help_text='This field is deprecated and will be removed in a future release. In future release, functionality will be migrated to source project update_on_launch.',
|
||||||
|
),
|
||||||
|
),
|
||||||
|
]
|
||||||
@@ -993,6 +993,10 @@ class InventorySource(UnifiedJobTemplate, InventorySourceOptions, CustomVirtualE
|
|||||||
)
|
)
|
||||||
update_on_project_update = models.BooleanField(
|
update_on_project_update = models.BooleanField(
|
||||||
default=False,
|
default=False,
|
||||||
|
help_text=_(
|
||||||
|
'This field is deprecated and will be removed in a future release. '
|
||||||
|
'In future release, functionality will be migrated to source project update_on_launch.'
|
||||||
|
),
|
||||||
)
|
)
|
||||||
update_on_launch = models.BooleanField(
|
update_on_launch = models.BooleanField(
|
||||||
default=False,
|
default=False,
|
||||||
|
|||||||
Reference in New Issue
Block a user