Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 13ba11590de0a1ba2056d6c2e78c76e76e962fe4
https://github.com/tribe29/checkmk/commit/13ba11590de0a1ba2056d6c2e78c76e76…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2020-07-08 (Wed, 08 Jul 2020)
Changed paths:
M cmk/base/config.py
M cmk/base/discovery.py
Log Message:
-----------
Add `config.discovery_max_cachefile_age()` function
This reduces code duplication in `discovery`. The name and location of
the function is consistent with `inventory_max_cachefile_age`. This
also reduces some confusion that comes from using an `inventory_*`
parameter in the `discovery` module.
CMK-4838
Change-Id: I3e26b5155b87f2c256cfec1e0019ac32351d5a66