Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 5b664900fff2c8a22a43021ff6bbdfd7e543cb5d
https://github.com/tribe29/checkmk/commit/5b664900fff2c8a22a43021ff6bbdfd7e…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2020-07-02 (Thu, 02 Jul 2020)
Changed paths:
M cmk/base/automations/check_mk.py
M cmk/base/checking.py
M cmk/base/core_nagios.py
M cmk/base/data_sources/_data_sources.py
M cmk/base/discovery.py
M cmk/base/dump_host.py
M cmk/base/inventory.py
M cmk/base/modes/check_mk.py
M tests-py3/unit/cmk/base/data_sources/test_data_sources.py
Log Message:
-----------
Make DataSources a Collections
```
from source in sources.get_data_sources():
...
```
is redundant. This further makes the role of DataSources as a
DataSource container explicit.
CMK-4838
Change-Id: I951b1520cf666c5d1c2fd100c383410d13309049
Commit: a6b7125f0145587912a217ff50dd97ce851c5790
https://github.com/tribe29/checkmk/commit/a6b7125f0145587912a217ff50dd97ce8…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2020-07-02 (Thu, 02 Jul 2020)
Changed paths:
M cmk/base/automations/check_mk.py
M cmk/base/data_sources/_data_sources.py
M cmk/base/modes/check_mk.py
Log Message:
-----------
Remove another useless method from DataSources
Now that DataSources is a collection, we can remove
`set_max_cachefile_age()` and call for each DS it in a loop.
This is both clearer and more efficient.
CMK-4838
Change-Id: Id1c227cdcbc70af78990f52c854f182b819e1e31
Compare:
https://github.com/tribe29/checkmk/compare/df5661d8c633...a6b7125f0145