Merge pull request #11989 from AlanCoding/deprecate_uopu

Mark inventory source field for deprecation
This commit is contained in:
Alan Rominger 2022-04-18 11:59:05 -04:00 committed by GitHub
commit 75d7cb5bca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 0 deletions

View File

@ -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.',
),
),
]

View File

@ -993,6 +993,10 @@ class InventorySource(UnifiedJobTemplate, InventorySourceOptions, CustomVirtualE
)
update_on_project_update = 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.'
),
)
update_on_launch = models.BooleanField(
default=False,