mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 11:20:39 -03:30
Remove cache control actions from inventory models
This commit is contained in:
parent
989aa180ce
commit
71d256583d
@ -397,7 +397,6 @@ class Host(CommonModelNameNotUnique):
|
||||
super(Host, self).mark_inactive(save=save)
|
||||
if not from_inventory_import:
|
||||
self.inventory_sources.clear()
|
||||
self.clear_cached_values()
|
||||
|
||||
def update_computed_fields(self, update_inventory=True, update_groups=True):
|
||||
'''
|
||||
@ -429,7 +428,6 @@ class Host(CommonModelNameNotUnique):
|
||||
# self.inventory.update_computed_fields(update_groups=False,
|
||||
# update_hosts=False)
|
||||
# Rebuild summary fields cache
|
||||
self.update_cached_values()
|
||||
variables_dict = VarsDictProperty('variables')
|
||||
|
||||
@property
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user