Update the inventory_import management command

to respect the new Organization.max_hosts limit.
This commit is contained in:
Jeff Bradberry
2019-02-07 16:40:07 -05:00
parent 5e13da62a4
commit 6d70651611
2 changed files with 37 additions and 2 deletions

View File

@@ -1653,6 +1653,10 @@ class InventoryUpdate(UnifiedJob, InventorySourceOptions, JobNotificationMixin,
default=False,
editable=False,
)
org_host_limit_error = models.BooleanField(
default=False,
editable=False,
)
source_project_update = models.ForeignKey(
'ProjectUpdate',
related_name='scm_inventory_updates',