Module: check_mk
Branch: master
Commit: 4569586bb420c2c8b248d367478c0137250b51eb
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=4569586bb420c2…
Author: Sergey Kipnis <sk(a)mathias-kettner.de>
Date: Tue Apr 30 18:46:42 2019 +0200
quick and simple refactoring
- bool UpdateCacheOnSuccess replaced with enum class
- StartTypes correctly reworked in enum class AppType
- removed annoying trace
Change-Id: I52a52266d8a15375af01efd74903222e29f56ce1
---
agents/wnx/include/tools/_xlog.h | 7 +++--
agents/wnx/src/common/cfg_info.h | 3 +-
agents/wnx/src/engine/cfg.cpp | 2 +-
agents/wnx/src/engine/cfg.h | 4 +--
agents/wnx/src/engine/logger.cpp | 7 +++--
agents/wnx/src/engine/on_start.cpp | 27 +++++++++---------
agents/wnx/src/engine/on_start.h | 19 +++++++------
agents/wnx/src/engine/provider_api.h | 3 +-
agents/wnx/src/engine/realtime.cpp | 8 ++----
agents/wnx/src/engine/upgrade.cpp | 10 ++++---
agents/wnx/src/main/check_mk_service.cpp | 4 +--
agents/wnx/src/player/plugin_player.cpp | 8 ++----
.../src/providers/perf_counter/perf_counter.cpp | 2 +-
agents/wnx/watest/test-cvt.cpp | 32 +++++++++++-----------
agents/wnx/watest/test-install-auto.cpp | 4 +--
agents/wnx/watest/test-log.cpp | 2 +-
agents/wnx/watest/test-mrpe.cpp | 4 +--
agents/wnx/watest/test-onlyfrom.cpp | 8 ++----
agents/wnx/watest/test-player.cpp | 23 +++++++---------
agents/wnx/watest/test-plugin.cpp | 20 ++++++--------
agents/wnx/watest/test-realtime.cpp | 11 ++++----
agents/wnx/watest/test-section_fileinfo.cpp | 6 ++--
agents/wnx/watest/test-section_ps.cpp | 11 +++-----
agents/wnx/watest/test-section_wmi.cpp | 14 ++++------
agents/wnx/watest/test-spool.cpp | 2 +-
agents/wnx/watest/test-winperf.cpp | 2 +-
agents/wnx/watest/test-yaml.cpp | 18 ++++++------
agents/wnx/watest/watest.cpp | 20 ++++++--------
28 files changed, 133 insertions(+), 148 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=4569586bb4…