Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 12dd7867dfededa60f1b9a98bbe476ce4c47600c
https://github.com/tribe29/checkmk/commit/12dd7867dfededa60f1b9a98bbe476ce4…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2021-05-06 (Thu, 06 May 2021)
Changed paths:
M cmk/base/modes/check_mk.py
M cmk/core_helpers/cache.py
Log Message:
-----------
`set_cache_opts` -> classmethod
* Remove the argument: only `True` would have an effect. Passing
`False` is noop. Therefore, the argument is unnecessary and,
actually, but a confusing lie,
* Move the function to the class: The function would set two
attributes of the class. Scoping it reduces feature envy
and could, in the end, make it easier to remove the globals.
Change-Id: I215b57a3949d59cb50f9cfca1b3433a1dd36e703