mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-26 09:16:10 -06:00
Correct up_to_date callable
This commit is contained in:
parent
adaeedd6a2
commit
72536d28a7
@ -31,7 +31,7 @@ class ConfigTemplateLoader(BaseLoader):
|
||||
DataFile.objects.filter(source=self.data_source, path__in=referenced_templates)
|
||||
})
|
||||
|
||||
return template_source, template, True
|
||||
return template_source, template, lambda: True
|
||||
|
||||
def cache_templates(self, templates):
|
||||
self._template_cache.update(templates)
|
||||
|
Loading…
Reference in New Issue
Block a user