AC-1040 Use new method in inventory import to create inventory update from inventory source.

This commit is contained in:
Chris Church 2014-03-26 00:11:37 -04:00
parent 9ab6f3cbf6
commit 21c8126838

View File

@ -517,7 +517,7 @@ class Command(NoArgsCommand):
overwrite_vars=self.overwrite_vars,
active=True,
)
self.inventory_update = self.inventory_source.inventory_updates.create(
self.inventory_update = self.inventory_source.create_inventory_update(
job_args=json.dumps(sys.argv),
job_env=dict(os.environ.items()),
job_cwd=os.getcwd(),