mirror of
https://github.com/ansible/awx.git
synced 2026-03-24 12:25:01 -02:30
changed the field name from 'container_options' to simply 'pull'
This commit is contained in:
@@ -12,7 +12,7 @@ class Migration(migrations.Migration):
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='executionenvironment',
|
||||
name='container_options',
|
||||
field=models.CharField(choices=[('always', 'Always pull container before running.'), ('missing', 'No pull option has been selected'), ('never', 'Never pull container before running')], default='missing', help_text='Pull image before running?', max_length=1024),
|
||||
name='pull',
|
||||
field=models.CharField(choices=[('always', 'Always pull container before running.'), ('missing', 'No pull option has been selected.'), ('never', 'Never pull container before running.')], default='missing', help_text='Pull image before running?', max_length=1024),
|
||||
),
|
||||
]
|
||||
|
||||
@@ -14,8 +14,8 @@ class ExecutionEnvironment(CommonModel):
|
||||
|
||||
PULL_CHOICES = [
|
||||
('always', _("Always pull container before running.")),
|
||||
('missing', _("No pull option has been selected")),
|
||||
('never', _("Never pull container before running"))
|
||||
('missing', _("No pull option has been selected.")),
|
||||
('never', _("Never pull container before running."))
|
||||
]
|
||||
|
||||
organization = models.ForeignKey(
|
||||
@@ -41,7 +41,7 @@ class ExecutionEnvironment(CommonModel):
|
||||
default=None,
|
||||
on_delete=models.SET_NULL,
|
||||
)
|
||||
container_options = models.CharField(
|
||||
pull = models.CharField(
|
||||
max_length=1024,
|
||||
choices=PULL_CHOICES,
|
||||
default='missing',
|
||||
|
||||
Reference in New Issue
Block a user