mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-06-26 06:52:53 +00:00
parent
3de2992238
commit
dfbe8c0bc4
@ -30,6 +30,6 @@ class GatherFactsManager(BasePlaybookManager):
|
|||||||
if asset and info:
|
if asset and info:
|
||||||
info = self.format_asset_info(asset.type, info)
|
info = self.format_asset_info(asset.type, info)
|
||||||
asset.info = info
|
asset.info = info
|
||||||
asset.save()
|
asset.save(update_fields=['info'])
|
||||||
else:
|
else:
|
||||||
logger.error("Not found info: {}".format(host))
|
logger.error("Not found info: {}".format(host))
|
||||||
|
Loading…
Reference in New Issue
Block a user